Raised This Month: $ Target: $400
 0% 

XP-Based mod[SOLVED]


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
iNspiratioN
Member
Join Date: Feb 2009
Location: Lithuania
Old 02-27-2009 , 10:33   XP-Based mod[SOLVED]
Reply With Quote #1

Thx, padilha007 for solving this mystery

Last edited by iNspiratioN; 03-03-2009 at 14:23.
iNspiratioN is offline
padilha007
Senior Member
Join Date: Jul 2008
Old 02-27-2009 , 12:19   Re: GunXP-MOD
Reply With Quote #2

all correct, any erros on plugin?
__________________

padilha007 is offline
iNspiratioN
Member
Join Date: Feb 2009
Location: Lithuania
Old 02-27-2009 , 12:41   Re: GunXP-MOD
Reply With Quote #3

compiles fine to me iguess
Code:
Your plugin successfully compiled!
Use the link below to download your plugin.  It will be valid for ten minutes.

http://www.amxmodx.org/webcompiler.cgi?go=dl&id=497004Welcome to the AMX Mod X 1.8.1-300 Compiler.
Copyright (c) 1997-2006 ITB CompuPhase, AMX Mod X Team

/home/groups/amxmodx/tmp3/textMypICJ.sma(36) : warning 217: loose indentation
/home/groups/amxmodx/tmp3/textMypICJ.sma(39) : warning 217: loose indentation
Header size:           1024 bytes
Code size:             6512 bytes
Data size:             3100 bytes
Stack/heap size:      16384 bytes; estimated max. usage=449 cells (1796 bytes)
Total requirements:   27020 bytes

2 Warnings.
Done.
iNspiratioN is offline
padilha007
Senior Member
Join Date: Jul 2008
Old 02-27-2009 , 15:22   Re: GunXP-MOD
Reply With Quote #4

Solved.

iNspiratioN
__________________


Last edited by padilha007; 03-03-2009 at 16:12.
padilha007 is offline
iNspiratioN
Member
Join Date: Feb 2009
Location: Lithuania
Old 02-28-2009 , 03:46   Re: GunXP-MOD
Reply With Quote #5

I just tested your Code but it doesn't give guns and LEVELS.

In HLDS.exe console i get this

Code:
L 02/28/2009 - 10:46:42: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 02/28/2009 - 10:46:49: String formatted incorrectly - parameter 5 (total 4)
L 02/28/2009 - 10:46:49: [AMXX] Run time error 25 (plugin "gunxp.amxx") - debug not enabled!
Edit:

Tryed adding "gunxp.amxx debug" in plugins.ini
and i got this

Code:
L 02/28/2009 - 11:15:34: String formatted incorrectly - parameter 5 (total 4)
L 02/28/2009 - 11:15:34: [AMXX] Displaying debug trace (plugin "gunxp.amxx")
L 02/28/2009 - 11:15:34: [AMXX] Run time error 25: parameter error 
L 02/28/2009 - 11:15:34: [AMXX]    [0] phpunx16s.sma::eDeath (line 162)

Last edited by iNspiratioN; 02-28-2009 at 04:15.
iNspiratioN is offline
padilha007
Senior Member
Join Date: Jul 2008
Old 02-28-2009 , 10:57   Re: GunXP-MOD
Reply With Quote #6

line 162 to this:
PHP Code:
client_print(attackerprint_chat"[GunXP-MOD] Sveikinu! Tu esi lygyje %i!",PlayerLevel[attacker]) 
__________________

padilha007 is offline
~Ice*shOt
Veteran Member
Join Date: Mar 2009
Location: Lithuania
Old 03-03-2009 , 13:38   Re: GunXP-MOD
Reply With Quote #7

Quote:
Originally Posted by padilha007 View Post
line 162 to this:
PHP Code:
client_print(attackerprint_chat"[GunXP-MOD] Sveikinu! Tu esi lygyje %i!",PlayerLevel[attacker]) 
Tai kur cia problema ?
Why is problem ?
~Ice*shOt is offline
Send a message via Skype™ to ~Ice*shOt
padilha007
Senior Member
Join Date: Jul 2008
Old 03-03-2009 , 13:56   Re: GunXP-MOD
Reply With Quote #8

client_print(attacker, print_chat, "[GunXP-MOD] Sveikinu! Tu esi lygyje %i %s!",PlayerLevel[attacker], CLASSES[PlayerClass[attacker]])

missing
CLASSES[PlayerClass[attacker]]
__________________

padilha007 is offline
iNspiratioN
Member
Join Date: Feb 2009
Location: Lithuania
Old 03-03-2009 , 14:17   Re: GunXP-MOD
Reply With Quote #9

Quote:
Originally Posted by padilha007 View Post
client_print(attacker, print_chat, "[GunXP-MOD] Sveikinu! Tu esi lygyje %i %s!",PlayerLevel[attacker], CLASSES[PlayerClass[attacker]])

missing
CLASSES[PlayerClass[attacker]]
Yes. But i don't need classes.NVM i solved this DEBUGy thingy. You can remove all the code [Couse that Ice shot wants to copy my mod!]

krc bandai susikurt GunXP mod? kurk savo o ne i mano ziurejes as visai net nepanasu i batistos darau...

Last edited by iNspiratioN; 03-03-2009 at 14:24.
iNspiratioN is offline
~Ice*shOt
Veteran Member
Join Date: Mar 2009
Location: Lithuania
Old 03-04-2009 , 06:42   Re: GunXP-MOD
Reply With Quote #10

Quote:
Originally Posted by iNspiratioN View Post
Yes. But i don't need classes.NVM i solved this DEBUGy thingy. You can remove all the code [Couse that Ice shot wants to copy my mod!]

krc bandai susikurt GunXP mod? kurk savo o ne i mano ziurejes as visai net nepanasu i batistos darau...
Patikek nekutiu tokio kaip tu man reikia tik tos problemos isiaiskint kur reikia yrasyti ta koda kad tinkamam lvl gautum kita gun..
~Ice*shOt is offline
Send a message via Skype™ to ~Ice*shOt
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 17:00.


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