Raised This Month: $ Target: $400
 0% 

FM_GetGameDescription broken?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Leon M.
Senior Member
Join Date: Apr 2009
Location: Germany
Old 03-14-2013 , 17:17   Re: FM_GetGameDescription broken?
Reply With Quote #4

Good points Connor, will test it and reply asap. Time to sleep now :/


BTW: Here the small code ^^
PHP Code:
#include <fakemeta>

public plugin_init(){
    
// ...
    
register_forward(FM_GetGameDescription"fwd_gamedesc")
    
// ...
}

public 
fwd_gamedesc(){
    
forward_return(FMV_STRING"Counter-Strike: Paintball")
    return 
FMRES_SUPERCEDE

EDIT: @bos
Well, probably the ':' cause the trouble. Although it worked before. Also, are you running in beta?

EDIT2: @Connor, @Arkshine
It seems that it gets not called anymore. Added a chat and console message to the hook. No prints

Quote:
] version
Protocol version 48
Exe version 1.1.2.7/Stdio (cstrike)
Exe build: 14:59:14 Feb 13 2013 (5956)

] meta version
Metamod v1.20 2013-02-16 (5:13)
by Will Day <[email protected]>
http://www.metamod.org/
compiled: Feb 16 2013, 17:115 +0100 (optimized)
ifvers: 5:13

] amxx version
AMX Mod X 1.8.2
Authors:
David "BAILOPAN" Anderson, Pavol "PM OnoTo" Marko, Felix "SniperBeamer" Geyer
Jonny "Got His Gun" Bergstrom, Lukasz "SidLuke" Wlasinski
Christian "Basic-Master" Hammacher, Borja "faluco" Ferrer
Scott "Damaged Soul" Ehlert
Compiled: Feb 14 2013, 00:55:00
URL:http://www.amxmodx.org/
Core mode: JIT
EDIT3: @all
Tested on an outdated server and indeed it works just fine. Any chance for a workaround?

Quote:
] version
Protocol version 48
Exe version 1.1.2.7/Stdio (cstrike)
Exe build: 110:01 Aug 28 2012 (5787)
__________________
  • ZapTic - Paintball (Version 7.1.3 b1303)
  • Your #1 CS Paintball Server since 2008
  • 85.131.163.101:27015

Last edited by Leon M.; 03-14-2013 at 18:51.
Leon M. is offline
 



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 21:42.


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