Its not crashed. Just server changed script several times. (One time then I removed UnrealT sounds)
Forum
CS2D General Super Hero Mod (1.1) By BlazzingxxIts not crashed. Just server changed script several times. (One time then I removed UnrealT sounds)
I dont have bugs like that in my server.
Of corse ppl rarely lose their level then get high ping several times.
As you noticed on some servers is bug like : Godlike> godlike witch not restarting...
I cant fix that couse I dont have that bug and I cant watch into debug mode.
Blazzingxx has written
I cant accept and change code...
I dont have bugs like that in my server.
Of corse ppl rarely lose their level then get high ping several times.
As you noticed on some servers is bug like : Godlike> godlike witch not restarting...
I cant fix that couse I dont have that bug and I cant watch into debug mode.
I dont have bugs like that in my server.
Of corse ppl rarely lose their level then get high ping several times.
As you noticed on some servers is bug like : Godlike> godlike witch not restarting...
I cant fix that couse I dont have that bug and I cant watch into debug mode.
There's a different between easy to design then making up excuses and good practice. By nature, bloating your directories with tons of files whereas one would suffice is not a manageable art of programming. Remember, plan out your system and look for the most optimized route to go, in this case, since the SH mod is memory centric, it would be intuitive to load all of the users at the beginning of the mod (lua does a wonderful allocation optimization to reduce any overhead) because god only knows when you would begin to need to create an administration system for SH that would allow you to modify offline players. Rather then looking through the directory to see if the usgn file exists, read it all over again, close it, and then update both the cached version AND the in game players, and then rewrite the file again the next time the guy scores a point, it's much better if one single step would suffice. Trust me, with a bit of refactoring and planning, you can size down your script to just 200 or 300 lines.
I havent said that 1.1 is my last version
Yes , Im searching ways how to make minimal code for this mod.
Also in my plans are 50 heroes. So I think Array is the only way to use for each hero. Becouse each hero should have own number for each player.
Blazzingxx has written
Agree.
I havent said that 1.1 is my last version
Yes , Im searching ways how to make minimal code for this mod.
Also in my plans are 50 heroes. So I think Array is the only way to use for each hero. Becouse each hero should have own number for each player.
I havent said that 1.1 is my last version
Yes , Im searching ways how to make minimal code for this mod.
Also in my plans are 50 heroes. So I think Array is the only way to use for each hero. Becouse each hero should have own number for each player.
As we've talked before, look into bootstrapping the heroes into the memory post initializing the mod into cs2d. In otherwords, have the heroes as their own separate mods and load them after everything else have already initialized, this way you can customize the heroes both without hard coding them onto sh and allows the players to customize their heroes on the server. I've got a prototype from a while ago with a few priliminary ideas on how to implement a damage/level mod, an assist mod, and a in-game even broadcasting route, as well as an oop approach to sh, if I find it I'll post it here.
edited 1×, last 19.07.09 08:43:59 pm
Yes!I have added a little code of your server.lua,i spend many time to find the item IDs...it can works!Are there some software for LUA?I edit it with txt,it is in confusion,but your codes are in order!Thanks!
st. wrong happens on the font,there are ?55200xxx before Exp level & the other.I have no idea.I have to look the script over again``
Why?I find that it happens as long as i change the code,i just add new menu"wrench",the error happens.
I have email the error pic to you,need your help!
edited 5×, last 20.07.09 10:15:56 am
I think that you change not all script you need.
edited 1×, last 21.07.09 01:34:28 pm