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

Gunxpmod 50 levels for zombie plague edit bug


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
emoto2
Member
Join Date: May 2016
Old 06-17-2016 , 11:08   Gunxpmod 50 levels for zombie plague edit bug
Reply With Quote #1

Hello members, i want to create unique zombie plague server + gunxpmod. I edit many code on gunxpmod (added support 50 levels, fixed the weapons menu, fixed weapons name, remove someone cvars and other...) but i have problem whith other code features and need your help.
1 Problem: I want when player is 0+ level and choose pistol, then shows the riffle weapons menu and choose weapons for players 0+ level
2 Problem: I addet in main menu option 3 "2+ Dont show menu again" and add /guns command for backing show main menu like a csdm. When push option 3 no have effect - not working correctly (you will see the added lines in .sma). And when players spawn showing the message not correctly. I want to fix all this problem and option 3 working like a csdm.
3 Problem: When choose weapons and drop the weapon cant give back anything that player have required level. Someone weapons have this bug (not all weapons)
4 Problem: I want LEVEL_TEXT message show permanently when player is dead like a spectator message in zombie plague.
5 Problem/Fix: Can you fix the maximum level? Now is #define MAXLEVEL 51... in server max level is 50 when up to 51 if last need exp is small (30000000), next time player spawn no show the guns menu and no show the hud LEVEL_HUD_TEXT message. I want when up to 50 level (30 000exp) no more up levels and exp show example 30000/30000
6 Quest: This line
Code:
new const AMMOCONST[MAXLEVEL2] = { 17, 16, 1, 11, 10, 26, 23, 19, 15, 7, 21, 22, 12, 5, 14, 30, 28, 3, 8, 18, 27, 24, 13, 20 };
in .sma is correctly written? And where i will see more info for this example 17, 16, 1, 11, 10?

7 Problem: If remove public zp_user_humanized_post - survivor, sniper, wesker no shows guns menu but this public is need when player is zombie and use antidote to show menu.. I want to use this public and fix survivor, sniper, wesker mode not showing the guns menu.

This is all bugs i'm not know how to fix. If you want to help me or have question write in topic.
Note: Please incompetent scripters no write in topic and no spamming.
Note2: I upload the .sma of plugins + .cfg file + include file of zombie plague special. If need gunxp include here: http://www.mediafire.com/download/4q...k/gunxpmod.inc
Attached Files
File Type: sma Get Plugin or Get Source (gunxpmod.sma - 666 views - 24.1 KB)
File Type: cfg gunxpmod.cfg (7.5 KB, 196 views)
File Type: inc zombie_plague_special.inc (7.3 KB, 147 views)

Last edited by emoto2; 06-20-2016 at 05:55.
emoto2 is offline
emoto2
Member
Join Date: May 2016
Old 06-19-2016 , 16:06   Re: Gunxpmod 50 levels for zombie plague edit bug
Reply With Quote #2

1 problem is fixed !

In .cfg file add new line:
PHP Code:
#define MAX_PISTOLS_MENU2 0 
In .sma file change:
PHP Code:
g_remember_selection[id] = MAX_PISTOLS_MENU
--->
PHP Code:
g_remember_selection[id] = MAX_PISTOLS_MENU2
2 lines
PHP Code:
if ( PlayerLevel[id] > MAX_PISTOLS_MENU 
--->
PHP Code:
if ( PlayerLevel[id] > MAX_PISTOLS_MENU2 
2 lines
PHP Code:
if ( !is_user_alive(id) || PlayerLevel[id] < MAX_PISTOLS_MENU 
--->
PHP Code:
if ( !is_user_alive(id) || PlayerLevel[id] < MAX_PISTOLS_MENU2 

Last edited by emoto2; 06-19-2016 at 16:09.
emoto2 is offline
emoto2
Member
Join Date: May 2016
Old 06-20-2016 , 05:44   Re: Gunxpmod 50 levels for zombie plague edit bug
Reply With Quote #3

quest 6: line is correct and there is weapons id https://wiki.alliedmods.net/Cs_weapons_information
emoto2 is offline
Old 06-20-2016, 12:04
DeXTeR.Dz
This message has been deleted by asherkin. Reason: Spam.
emoto2
Member
Join Date: May 2016
Old 06-20-2016 , 12:56   Re: Gunxpmod 50 levels for zombie plague edit bug
Reply With Quote #4

Hey did you see the code? I make this mod for 50 levels.. on every 5 levels have new rank (new member, member and other) This code no have errors in server console and work perfect. But have some problems and need to fix it (2,3,4,5,7 problems)
emoto2 is offline
Old 06-20-2016, 13:37
DeXTeR.Dz
This message has been deleted by asherkin. Reason: Spam.
emoto2
Member
Join Date: May 2016
Old 06-21-2016 , 16:13   Re: Gunxpmod 50 levels for zombie plague edit bug
Reply With Quote #5

Thanks for deleted spam. But someone on this forum can you help? Need a 15-20 min. to fix all problems not more.
emoto2 is offline
emoto2
Member
Join Date: May 2016
Old 06-30-2016 , 08:10   Re: Gunxpmod 50 levels for zombie plague edit bug
Reply With Quote #6

Wow :O
emoto2 is offline
XxScripteRxX
Member
Join Date: Aug 2019
Old 11-17-2019 , 03:49   Re: Gunxpmod 50 levels for zombie plague edit bug
Reply With Quote #7

Quote:
Originally Posted by emoto2 View Post
Wow :O
you can fix this plugin i have problem with show_level_hud
XxScripteRxX is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 11-17-2019 , 07:27   Re: Gunxpmod 50 levels for zombie plague edit bug
Reply With Quote #8

Quote:
Originally Posted by XxScripteRxX View Post
you can fix this plugin i have problem with show_level_hud
Too much information. Be careful not to break your keyboard from so much typing.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
XxScripteRxX
Member
Join Date: Aug 2019
Old 11-18-2019 , 12:51   Re: Gunxpmod 50 levels for zombie plague edit bug
Reply With Quote #9

no thanks im done with 50 level now dont have bug ;)
XxScripteRxX is offline
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 16:47.


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