Raised This Month: $32 Target: $400
 8% 

1.17.1


Post New Thread Reply   
 
Thread Tools Display Modes
gign
Member
Join Date: Jul 2004
Old 08-13-2004 , 22:28  
Reply With Quote #11

ok i edited the superheromod.inc to look like this

Quote:
#if defined _sheros_included
#endinput
#endif
#define _sheros_included

//Max player slots, should not really be changed from 32
#define SH_MAXSLOTS 32

//Max levels that can be loaded from the superhero.ini
#define SH_MAXLEVELS 30

//Max Amount of heros that can be loaded
#define SH_MAXHEROS 50

// potential of power1-power9 but i'll cut it to power1-power3 using a cvar
// Limit by sh_maxbinds (=3 now) - bind heros will not appear in menu after 3 chosen
#define SH_MAXBINDPOWERS 9
and the compile was successful, however, in the server the max levels only appear to be 18, what seems to be the problem here??

my Superhero.ini is as follows

Quote:
## NUMLEVELS - The total Number of levels to award players
## XPLEVELS - How much XP does it take to earn each level (0..NUMLEVELS)
## XPGIVEN - How much XP is given when a Level(N) player is killed (0..NUMLEVELS)
## LTXPLEVELS - Same as XPLEVELS but for Long-Term mode (sh_savexp 1)
## LTXPGIVEN - Same as XPGIVEN but for Long-Term mode (sh_savexp 1)
NUMLEVELS 20
XPLEVELS 0 0 300 600 1000 1500 2100 2800 3600 4500 5500 6500 7500 8500 9500 10500 11500 12500 13500 14500
XPGIVEN 60 80 100 120 140 160 180 200 220 240 260 280 300 320 340 360 380 400 420 440
LTXPLEVELS 0 0 200 400 800 1600 3200 6400 12800 25600 51200 61200 71200 81200 91200 808888 1000235 1112555 1219900
1412999
LTXPGIVEN 6 8 10 12 14 16 20 24 28 32 40 50 60 70 80 170 180 200 240 250
gign is offline
jtp10181
Veteran Member
Join Date: May 2004
Location: Madison, WI
Old 08-13-2004 , 22:36  
Reply With Quote #12

how many numbers are here?

0 - 19

yes there is a level 0

hmmm.....

Code:
LTXPGIVEN 6 8 10 12 14 16 20 24 28 32 40 50 60 70 80 170 180 200 240 250
__________________
jtp10181 is offline
Send a message via ICQ to jtp10181 Send a message via AIM to jtp10181 Send a message via MSN to jtp10181 Send a message via Yahoo to jtp10181
Chivas2973
Veteran Member
Join Date: Mar 2004
Location: Wisconsin
Old 08-13-2004 , 22:45  
Reply With Quote #13

last time I am gonna bug you with this, cause it may be my lack of knowledge,

ok, I edited the include/superheromod.inc
then I used the compiler built into amx 98a
recompiled the whole thing, so there is now a compiled folder
also within that folder, I took the superheromod.amx and put it in the plugins and I still am left with 10 levels

maybe I am just a dumbass and if so, I will just deal with what I have, sorry, just don't get it
__________________
Chivas2973 is offline
jtp10181
Veteran Member
Join Date: May 2004
Location: Madison, WI
Old 08-13-2004 , 22:48  
Reply With Quote #14

did you remove the other plugin?

what error are you getting when the server starts?

and uhg.... here is a compiled vault saving suphero with the old default define values. also the runtime is fixed
Attached Files
File Type: zip superheromodvault.zip (26.7 KB, 115 views)
__________________
jtp10181 is offline
Send a message via ICQ to jtp10181 Send a message via AIM to jtp10181 Send a message via MSN to jtp10181 Send a message via Yahoo to jtp10181
Chivas2973
Veteran Member
Join Date: Mar 2004
Location: Wisconsin
Old 08-13-2004 , 22:57  
Reply With Quote #15

that download gave me alot of help, I now have 19 levels in server, not sure what I didn't do, but I appreciate the help jtp
__________________
Chivas2973 is offline
jtp10181
Veteran Member
Join Date: May 2004
Location: Madison, WI
Old 08-13-2004 , 23:05  
Reply With Quote #16

you only have 19 levels because you only have 0 - 19 defined in your ini

there is a level 0 dont forget
__________________
jtp10181 is offline
Send a message via ICQ to jtp10181 Send a message via AIM to jtp10181 Send a message via MSN to jtp10181 Send a message via Yahoo to jtp10181
Chivas2973
Veteran Member
Join Date: Mar 2004
Location: Wisconsin
Old 08-13-2004 , 23:14  
Reply With Quote #17

btw, I was just looking, and there is no superheromodvault.sma and when I compiled the examples, it obvioisly did not make a superheromodvault.amx, where did I miss it, what did I need to compile to give me that amx

I also now understand that I need a total of 21 levels for a server to go to level 20, I have made a note of it and planned accordingly

anyway, all your support of this mod is always appreciated jtp
__________________
Chivas2973 is offline
jtp10181
Veteran Member
Join Date: May 2004
Location: Madison, WI
Old 08-13-2004 , 23:17  
Reply With Quote #18

the vault and mysql compiel sare the same thingm just using different includes, they are both from superheromod.sma, when they compile I rename them for the release. If you use a custom compiled version you can either rename the amx OR change your entry in the plugins.ini from superheromodvault.amx to -> superheromod.amx
__________________
jtp10181 is offline
Send a message via ICQ to jtp10181 Send a message via AIM to jtp10181 Send a message via MSN to jtp10181 Send a message via Yahoo to jtp10181
imported_TicoMeElmo
Senior Member
Join Date: Mar 2004
Location: 123 Fake Street
Old 08-14-2004 , 22:19  
Reply With Quote #19

GRR someone deleted my superhero.ini post i posted a help thingy for that 21 levels thing and someone deleted it!!
__________________

 http://sh-server.tk 

Weirdest Conv of my life: Episode 1 | Weirdest Conv of my life: Episode 2 | Episode 3 Coming Soon, BBoY
imported_TicoMeElmo is offline
Send a message via AIM to imported_TicoMeElmo
jtp10181
Veteran Member
Join Date: May 2004
Location: Madison, WI
Old 08-14-2004 , 23:16  
Reply With Quote #20

I probably moved it.... and it was retarded anyway
__________________
jtp10181 is offline
Send a message via ICQ to jtp10181 Send a message via AIM to jtp10181 Send a message via MSN to jtp10181 Send a message via Yahoo to jtp10181
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:13.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode