![]() If someone else can fix it faster then it might be better. I cant get to it this moment but i can correct this when i get the time. I tried to contact him but he wont reply. and that is the cost of having a one author "semi closed" project and not on something like github where i can just fork it discuss it and merge. and if an update for xp comes out or gmod changes, gotta do it all over again. ![]() But its almost like rewriting the entire plugin. I can probably eventually work out XP and add checks and balances to every single xp transaction. PS2 is extremely complicated thats why its like 40$. The coding he has seems to cover every scenario I just dont have the experience or knowledge to take the knowledge / theory from that and convert it into something utime can use. if ps2 dosnt load you log back on and its back. But you dont ever seem to lose your points or wallets. ![]() I cannot comprehend all the code involved in ps2 and sql. I know the PS2 designer put a tremendous amount of work into sql coding. Things happen that the game server is not even aware of. SQL is a complex thing it involves table locks unlocks scans queries all sorts of stuff. i mean SQL opening ports sending network data its really not suited for it with gmod. LUA is a code designed initially more for just settings. I believe the lua support in gmod itself is very crude. i mean how many times have you logged on and seen something messed up like errors then you relog and its fixed. I think gmod and lua are not stable enough to work together for mysql specially as small simple scripts. if it dosnt set it then it continues to tick to that 10 min (hopefully for a new guest) mark then the rest of the script respects the 10 min total time requirement and continues for saving and such. then utime loads and sets it to your time. i put a "dont save someones time unless the TOTAL time - top time - is over like 10 mins" code into it i mean if your utime is not loaded in 10 mins then something bigger happened then i can handle. my workaround is very crude but somewhat effective. theres like 7-8 people who tried and failed. I just dont know what more to do with utime many devs have tried and abandoned mysql support for utime because it just does this bs. XP was easier for me to work with so i made a lot of changes to help prevent xp resets Oh wow i was nowhere near this thing yesterday still need to know if xp was also reset
0 Comments
Leave a Reply. |