Raised This Month: $51 Target: $400
 12% 

Multiple Game Names


Post New Thread Reply   
 
Thread Tools Display Modes
Hrustus
New Member
Join Date: Jan 2018
Old 01-28-2018 , 13:40   Re: [ReAPI] Multiple Game Names
Reply With Quote #31

Quote:
Originally Posted by tarsisd2 View Post
or change
PHP Code:
    register_cvar("MultiGameNames"PLUGIN_VERSIONFCVAR_SERVER|FCVAR_SPONLY|FCVAR_UNLOGGED
to

PHP Code:
    register_cvar("MultiGameNames""1.1"FCVAR_SERVER|FCVAR_SPONLY|FCVAR_UNLOGGED
since you don't have PLUGIN_VERSION registered anywhere
I did it but now i'm getting error:
Code:
L 01/28/2018 - 19:35:45: [AMXX] Displaying debug trace (plugin "Multiple_Game_Names.amxx")
L 01/28/2018 - 19:35:45: [AMXX] Run time error 11: divide 
L 01/28/2018 - 19:35:45: [AMXX]    [0] Multiple_Game_Names.sma::re_gamename (line 20)
Error is on this line:
Code:
	set_member_game(m_GameDesc, g_szGnames[iLine++ % iNameLength]);
Can you help me?
I am using Reapi v5.2.0.1 and Regamedll 5.5.0.286-dev.
Hrustus is offline
tarsisd2
Veteran Member
Join Date: Feb 2016
Location: brazil
Old 01-28-2018 , 20:45   Re: [ReAPI] Multiple Game Names
Reply With Quote #32

Quote:
Originally Posted by Hrustus View Post
I did it but now i'm getting error:
Code:
L 01/28/2018 - 19:35:45: [AMXX] Displaying debug trace (plugin "Multiple_Game_Names.amxx")
L 01/28/2018 - 19:35:45: [AMXX] Run time error 11: divide 
L 01/28/2018 - 19:35:45: [AMXX]    [0] Multiple_Game_Names.sma::re_gamename (line 20)
Error is on this line:
Code:
	set_member_game(m_GameDesc, g_szGnames[iLine++ % iNameLength]);
Can you help me?
I am using Reapi v5.2.0.1 and Regamedll 5.5.0.286-dev.
don't bother, even if you compile the plugin does not work
tarsisd2 is offline
Relaxing
AlliedModders Donor
Join Date: Jun 2016
Location: White Plains
Old 01-29-2018 , 13:29   Re: [ReAPI] Multiple Game Names
Reply With Quote #33

Use fakemeta instead of RE(rip)api. RE(rip) seems unfair for 94.91% of AM members.
__________________
Relaxing is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 01-29-2018 , 14:44   Re: [ReAPI] Multiple Game Names
Reply With Quote #34

Quote:
Originally Posted by Relaxing View Post
Use fakemeta instead of RE(rip)api. RE(rip) seems unfair for 94.91% of AM members.
Not sure what you mean, but if you want to release plugins here you should choose the way that has the best compatibility.
Fakemeta works in both regamedll/rehlds and default hlds.
Reapi works only in regamedll/rehlds.

There is 0 reason to choose ReAPI over default AMXX modules. Dunno why people don't want to understand this simple thing.
__________________

Last edited by HamletEagle; 01-29-2018 at 14:44.
HamletEagle is offline
Alber9091
Veteran Member
Join Date: Jun 2014
Location: Karachi, Pakistan
Old 01-29-2018 , 15:44   Re: [ReAPI] Multiple Game Names
Reply With Quote #35

Quote:
Originally Posted by HamletEagle View Post
Not sure what you mean, but if you want to release plugins here you should choose the way that has the best compatibility.
Fakemeta works in both regamedll/rehlds and default hlds.
Reapi works only in regamedll/rehlds.

There is 0 reason to choose ReAPI over default AMXX modules. Dunno why people don't want to understand this simple thing.
Brother, he also said the same thing.
He asked dexter to use Fakemeta, instead of ReAPI.
As it would be better option
Alber9091 is offline
Old 01-29-2018, 16:16
Relaxing
This message has been deleted by HamletEagle. Reason: I know you thought you found a smart thing to say, but remain on topic. Don't derail the thread.
DjSoftero
Veteran Member
Join Date: Nov 2014
Location: Lithuania
Old 01-31-2018 , 14:04   Re: [ReAPI] Multiple Game Names
Reply With Quote #36

Quote:
Originally Posted by Relaxing View Post
Use fakemeta instead of RE(rip)api. RE(rip) seems unfair for 94.91% of AM members.
He doesn't know how to use fakemeta and he ripped off this code from someone else and decided to release it.

p.s. technically he didn't steal it, but he didn't really code anything himself.
__________________
retired chump

Last edited by DjSoftero; 01-31-2018 at 14:06.
DjSoftero is offline
D3XT3R
AlliedModders Donor
Join Date: Nov 2016
Location: Lithuania, Bomb A (Kauna
Old 02-01-2018 , 14:54   Re: [ReAPI] Multiple Game Names
Reply With Quote #37

sorry guys, as u know study )) i will update the code soon possible also i didnt test it and that my main problem
__________________
D3XT3R is offline
Send a message via Skype™ to D3XT3R
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 02-01-2018 , 16:54   Re: [ReAPI] Multiple Game Names
Reply With Quote #38

Quote:
Originally Posted by D3XT3R View Post
sorry guys, as u know study )) i will update the code soon possible also i didnt test it and that my main problem
NEVER release an untested plugin. There are big chances it won't work.
__________________
HamletEagle is offline
Sugisaki
Junior Member
Join Date: Oct 2014
Location: Venezuela
Old 02-03-2018 , 06:21   Re: [ReAPI] Multiple Game Names
Reply With Quote #39

for this plugin to take effect you should use reunion == dproto
disapproved for me
__________________
Sugisaki is offline
D3XT3R
AlliedModders Donor
Join Date: Nov 2016
Location: Lithuania, Bomb A (Kauna
Old 02-03-2018 , 07:25   Re: [ReAPI] Multiple Game Names
Reply With Quote #40

Quote:
Originally Posted by Sugisaki View Post
for this plugin to take effect you should use reunion == dproto
disapproved for me
in real i tested it with no reunion and it works and didnt give me those error logs and i dont know if i uploaded wroung version to alliedmodders so im trying to make it for hlds / rehlds ;)
__________________
D3XT3R is offline
Send a message via Skype™ to D3XT3R
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:26.


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