Re: Super Hero Module 2.002 & New Server
Just a suggestion. Instead of plugins having to keep track of their super hero id and then switching a bool to true and false to keep track if they have the hero or not, why not let the module do that (Still keeping the sh_hero_init() forward, so other heros can do some stuff during that time). Like you could just create a native has_hero(id), to check if a client has a plugin's hero. And for natives that require a hero id, all you would have to do is keep track of which plugin registered which hero, which, last time I looked at your guys code can easily be done :D.
I beleive I did this in a mod I was creating. I just used a const AMX *amx pointer and then scanned through my class table and see if the pointer matched up with the calling plugin's amx. This way, it's simpler, and avoids other plugins from being able to change other hero data. Of course this may be bad design :/, please tell me. |
Re: Super Hero Module 2.002 & New Server
Some bots would be kind of nice to make up for the lack of human population in the server =|
|
Re: Super Hero Module 2.002 & New Server
i want to set the hero mod to lvl 20..but how?????? :o
|
Re: Super Hero Module 2.002 & New Server
Quote:
|
Re: Super Hero Module 2.002 & New Server
On the server "playerlevels" doesn't quite work for some reason. Also, the showmenu command sometimes causes a hidden radio3 [ie pressing 9 on the menu would turn the menu next, in addition to saying "Enemy Down" on the radio].
Just minor things. Seems fine so far. |
Re: Super Hero Module 2.002 & New Server
note to self... get foot out of ass and help freecode
|
Re: Super Hero Module 2.002 & New Server
oh u better!
|
Re: Super Hero Module 2.002 & New Server
When i download everything and put it in its place, my hero list(where u get to pick ur heros) doesnt show up on my server. also i think some files are missing... the shconfig.cfg, and the file where u can set the xp per lvl and how much u get per kill. i would like an reply to this or tell me that im just being a dumbass and show me where they are. also a tutorial for set up just to make sure i did everything right would be nice (post a link if there is already one). also only module heros will work for with this or can i just use any hero i find? much help needed.
|
Re: Super Hero Module 2.002 & New Server
Quote:
here my ini's & cfg's shmod.cfg Code:
//-------------------------------------------------------------------- Code:
Code:
; AMX Mod X plugins Code:
;SuperHero Mod |
Re: Super Hero Module 2.002 & New Server
There is a Leak problem in this version of the module. Untill the next version i suggest everyone should stick with the plugin. :cry:
|
All times are GMT -4. The time now is 00:05. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.