I'm so glad we finally can have a ridiculous amount of useless features on our forum
refund my 5k rigcoins please
Quote from: Svetlana on 07-11-2012, 13:59:32 PMyeah but that'd take more sql workmy way is simplerhow do i save the each spear's id without sql tho?
yeah but that'd take more sql workmy way is simpler
Quote from: steevnazi on 07-11-2012, 14:09:37 PMQuote from: Svetlana on 07-11-2012, 13:59:32 PMyeah but that'd take more sql workmy way is simplerhow do i save the each spear's id without sql tho?well how are you storing them now? surely there's a way you're storing the spear type since it's not all one type of spearmy idea would be that instead of just the type you store something that can be converted back into 3 numbers: x, y and typethat gets parsed by php when loading the spears
Who wants to be penetrated by my long, hard spear?
yeah if you can get it to be arrays that would make things simpler, either way i think you should change it to be at least one array, and then store the types of spears in that so adding new types of spears doesn't require you to make a whole new variable every time