Forum

> > CS2D > General > Super Hero Mod (1.1) By Blazzingxx
ForenübersichtCS2D-ÜbersichtGeneral-ÜbersichtEinloggen, um zu antworten

Englisch Super Hero Mod (1.1) By Blazzingxx

72 Antworten
Seite
Zum Anfang Vorherige 1 2 3 4 Nächste Zum Anfang

alt Re: Super Hero Mod (1.1) By Blazzingxx

SQ
Moderator Off Offline

Zitieren
Breakmaster is hosting all servers.

Its not crashed. Just server changed script several times. (One time then I removed UnrealT sounds)

alt Re: Super Hero Mod (1.1) By Blazzingxx

Lee
Moderator Off Offline

Zitieren
here's a more efficient architecture for sh, instead of having to load and save into independent files, how about having a schema and using it to convert the users table into a string, this way you can ensure that the users file does not get corrupted.

alt Re: Super Hero Mod (1.1) By Blazzingxx

SQ
Moderator Off Offline

Zitieren
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.

alt Re: Super Hero Mod (1.1) By Blazzingxx

Lee
Moderator Off Offline

Zitieren
Blazzingxx hat geschrieben
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.


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.

alt Re: Super Hero Mod (1.1) By Blazzingxx

SQ
Moderator Off Offline

Zitieren
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.

alt Re: Super Hero Mod (1.1) By Blazzingxx

Lee
Moderator Off Offline

Zitieren
Blazzingxx hat geschrieben
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.


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.

alt Re: Super Hero Mod (1.1) By Blazzingxx

zaki_cn
User Off Offline

Zitieren
Hi Blazzingxx, my english is not very good ,but i think that you can understand me.I am using your mod,but my question is that my server have no wrench!But i see you upload pic ,there is some building in hero_stun,and i have played in other server, they have wrench in level 20,i am very like that,but i cant find wrench in your mod```please tell me why,thanks!If you have that mod with wrench!please trans me!thanks!My email adress:illusionzh@163.com!

alt Re: Super Hero Mod (1.1) By Blazzingxx

zaki_cn
User Off Offline

Zitieren
oh,i will try it ```but i have played in the other server that they are team deadth mode,they have a skill in level 20 named wrench,wrench need skill points and one man only can build one turrent and the other.I guess that someone change your code,that's a good idea.


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!
5× editiert, zuletzt 20.07.09 10:15:56

alt Re: Super Hero Mod (1.1) By Blazzingxx

SQ
Moderator Off Offline

Zitieren
First you should learn how to script with lua.
I think that you change not all script you need.
1× editiert, zuletzt 21.07.09 13:34:28
Zum Anfang Vorherige 1 2 3 4 Nächste Zum Anfang
Einloggen, um zu antwortenGeneral-ÜbersichtCS2D-ÜbersichtForenübersicht