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

Solved GameName Issue.


Post New Thread Reply   
 
Thread Tools Display Modes
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 02-10-2019 , 06:59   Re: [NOT SOLVED] GameName Issue.
Reply With Quote #11

What is 1.10?
__________________








CrazY. is offline
eat1k
Senior Member
Join Date: Apr 2018
Old 02-10-2019 , 07:40   Re: [NOT SOLVED] GameName Issue.
Reply With Quote #12

Quote:
Originally Posted by CrazY. View Post
What is 1.10?
The next stable version of AMXX (2.0) -
https://www.amxmodx.org/downloads-new.php?branch=master
https://github.com/alliedmodders/amxmodx/commits/master
__________________

Last edited by eat1k; 02-10-2019 at 07:41.
eat1k is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 02-10-2019 , 08:09   Re: [NOT SOLVED] GameName Issue.
Reply With Quote #13

Quote:
Originally Posted by eat1k View Post
The next development version*.

1.9 will be the next stable one.
__________________

Last edited by OciXCrom; 02-10-2019 at 08:10.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
deprale
Senior Member
Join Date: Oct 2018
Location: Leeds
Old 02-10-2019 , 17:50   Re: [NOT SOLVED] GameName Issue.
Reply With Quote #14

yeah but I tried fakemeta/reapi, is there any other way??

it gets updated (gamename) once and never again, unless I restart the server...
__________________

Last edited by deprale; 02-10-2019 at 17:51.
deprale is offline
eat1k
Senior Member
Join Date: Apr 2018
Old 02-10-2019 , 18:27   Re: [NOT SOLVED] GameName Issue.
Reply With Quote #15

Quote:
Originally Posted by deprale View Post
yeah but I tried fakemeta/reapi, is there any other way??

it gets updated (gamename) once and never again, unless I restart the server...
It works fine with ReAPI. Did you try my plugin? If it doesn't work for you so some plugin is blocking the change.
__________________
eat1k is offline
PartialCloning
Senior Member
Join Date: Dec 2015
Old 02-10-2019 , 18:28   Re: GameName Issue.
Reply With Quote #16

Quote:
Originally Posted by eat1k View Post
P.S. FM_GetGameDescription is too bad.
Quote:
Originally Posted by eat1k View Post
https://dev-cs.ru/threads/3863/#post-41180

The best way is using set_member_game + m_GameDesc. However, if you don't have ReAPI, so you don't have other way.
That is not true, and was fixed by Valve many years ago to prevent flooding.

Quote:
Originally Posted by eat1k View Post
https://dev-cs.ru/threads/3863/#post-41180

However, if you don't have ReAPI, so you don't have other way.
You don't need ReAPI. You can use SteamTools.

PHP Code:
#include <amxmodx>
#include <steamtools>

#pragma semicolon 1

new const g_GameDescription[][] = 
{
    
"Super Mario: Strike",
    
"PartialCloning",
    
"Wii Sports"
};

public 
plugin_init()
{
    
register_plugin("Random Game Description""1.0""Partial Cloning");
}

public 
Steam_FullyLoaded()
{
    
set_task(1.0"TaskRandomDescription", .flags "b");
}

public 
TaskRandomDescription()
{
    
Steam_SetGameDescription(g_GameDescription[random(sizeof(g_GameDescription))]);


Last edited by PartialCloning; 02-10-2019 at 18:38. Reason: Use Steam_FullyLoaded
PartialCloning is offline
eat1k
Senior Member
Join Date: Apr 2018
Old 02-10-2019 , 18:45   Re: GameName Issue.
Reply With Quote #17

Quote:
Originally Posted by PartialCloning View Post
That is not true, and was fixed by Valve many years ago to prevent flooding.
As you can see, it wasn’t. Or maybe I’m wrong and you can attach any proofs? Btw thanks for steamtools code, I didn’t know about it.
__________________

Last edited by eat1k; 02-10-2019 at 19:10.
eat1k is offline
PartialCloning
Senior Member
Join Date: Dec 2015
Old 02-10-2019 , 19:32   Re: GameName Issue.
Reply With Quote #18

Quote:
Originally Posted by eat1k View Post
As you can see, it wasn’t. Or maybe I’m wrong and you can attach any proofs? Btw thanks for steamtools code, I didn’t know about it.
This thread is proof it doesn't work anymore. You can refresh the server list but FM_GetGameDescription won't get called.
PartialCloning is offline
iceeedr
Veteran Member
Join Date: Apr 2017
Location: Brazil
Old 02-11-2019 , 08:12   Re: [NOT SOLVED] GameName Issue.
Reply With Quote #19

It was already answered, it was even a problem with me.

https://forums.alliedmods.net/showpo...0&postcount=11

https://forums.alliedmods.net/showpo...4&postcount=13
__________________


Quote:
Originally Posted by fysiks View Post
Please stop trying to help. You appear to just be posting random stuff. Wait until you actually understand more about AMX Mod X and how the game works.
https://iceeedr.com.br/
iceeedr is offline
Send a message via Skype™ to iceeedr
deprale
Senior Member
Join Date: Oct 2018
Location: Leeds
Old 02-12-2019 , 14:49   Re: [NOT SOLVED] GameName Issue.
Reply With Quote #20

@PartialCloning
I'm trying it right now /// EDIT: Doesn't work in my case, i'm trying to use variables within the name, doesn't allow me to.

@iceeedr
Sorry, I researched - I tried, nothing worked, I searched in google using "(my issue) site: (alliedmods here)"
-> didnt find anything.
EDIT: I'm already using REGAMEDLL+REHLDS.
__________________

Last edited by deprale; 02-12-2019 at 15:05.
deprale 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 00:20.


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