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

Client_print => %s


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
PredatorBlock
AlliedModders Donor
Join Date: Apr 2020
Old 04-24-2020 , 08:13   Client_print => %s
Reply With Quote #1

Hello everyone,

Guys i have a problem and from 2 days cannot find a solution!

-------------
My server works on reHLDS with the latest amxmod 1.9...

Currently loaded modules:
name version authorstatus
SQLite1.9.0.5263 AMX Mod X Dev Teamrunning
Fun1.9.0.5263 AMX Mod X Dev Teamrunning
Engine1.9.0.5263 AMX Mod X Dev Teamrunning
FakeMeta 1.9.0.5263 AMX Mod X Dev Teamrunning
GeoIP 1.9.0.5263 AMX Mod X Dev Teamrunning
nVault1.9.0.5263 AMX Mod X Dev Teamrunning
CStrike 1.9.0.5263 AMX Mod X Dev Teamrunning
CSX1.9.0.5263 AMX Mod X Dev Teamrunning
Ham Sandwich1.9.0.5263 AMX Mod X Dev Teamrunning
MySQ 1.9.0.5263 AMX Mod X Dev Teamrunning
Sockets 1.9.0.5263 AMX Mod X Dev Teamrunning
RegEx 1.9.0.5263 AMX Mod X Dev Teamrunning
------------

Example:

public plugin_init()
{
register_clcmd( "say /test", "testing" );
}

public testing(id)
{
client_print(id, print_center, "Testing center message!"); // <= THIS PRINT ONLY %s
client_print(id, print_chat, "Testing chat message!"); // <= THIS WORK
client_print(id, print_console, "Testing console message!"); // <= THIS WORK
}

Each time it's print only: %s on the center of screen!

How i can fix it?

Thanks all.

P.S:
- In the old amxmod 1.8.2 it works... on the new 1.9... don't
- If you will tell me to install orpheu module! it won't help cause already is installed and loaded but still not work
- Also this problem is only with print_center cause if i use for example print_chat or print_console it works!

Last edited by PredatorBlock; 04-24-2020 at 08:21.
PredatorBlock is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 04-24-2020 , 08:25   Re: Client_print => %s
Reply With Quote #2

Did you try updating ReHLDS and its plugins?
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
PredatorBlock
AlliedModders Donor
Join Date: Apr 2020
Old 04-24-2020 , 09:33   Re: Client_print => %s
Reply With Quote #3

I just did:
http://teamcity.rehlds.org/viewLog.h...d=Rehlds_Linux

Downloaded all files and updated on my server but still the same %s nothing change.

As i mentioned above on AMXMOD 1.8.2 => works fine! so i think there is nothing has doing with reHLDS engine.

I thinks the problem is from amxmod itself my opinion, but i can't find any fix as on they official page it say they fix:

Official page: https://www.amxmodx.org/downloads-new.php
Adjust TextMsg/SayText maximum buffer length from 190 to 187 due to "%s" parameter added in #763

But this refer only to length so is not applicable on my case cause i don't have 187 length in my message.

Thank you for reply anyway, hope someone know how to fix this
PredatorBlock is offline
Old 04-24-2020, 12:22
thEsp
This message has been deleted by thEsp.
+ARUKARI-
AlliedModders Donor
Join Date: Jul 2004
Location: Japan
Old 04-24-2020 , 12:33   Re: Client_print => %s
Reply With Quote #4

try 1.10

https://forums.alliedmods.net/showthread.php?t=323132
https://www.amxmodx.org/downloads-new.php?branch=master
__________________
GitHub
SteamWishlist

六四天安門事件

Last edited by +ARUKARI-; 04-24-2020 at 12:37.
+ARUKARI- is offline
PredatorBlock
AlliedModders Donor
Join Date: Apr 2020
Old 04-24-2020 , 20:51   Re: Client_print => %s
Reply With Quote #5

Ive try everything i compiled with 1.10, 1.9 and still the same

I disabled all plugins and still the same! this is very strange! and also some of my plugins which was compiled with old version 1.8.2 was have some errors when i compiled with 1.9 but i fix them all it wasn't so big deal just client_connected and md5 i change it to hash but this print_center have no solution it's going to be very annoying.
PredatorBlock is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 04-24-2020 , 20:55   Re: Client_print => %s
Reply With Quote #6

Are you actually running AMX Mod X 1.10? Using just the compiler to compile the plugins and then running them on 1.9.0 won't likely do any good.
__________________
fysiks is offline
PredatorBlock
AlliedModders Donor
Join Date: Apr 2020
Old 04-24-2020 , 21:18   Re: Client_print => %s
Reply With Quote #7

Quote:
Originally Posted by fysiks View Post
Are you actually running AMX Mod X 1.10? Using just the compiler to compile the plugins and then running them on 1.9.0 won't likely do any good.
No its still run 1.9 i just compile with 1.10

Well so then i should upgrade down from 1.9 to 1.10 that's strange! then why i can't remain on 1.8.2 which newer than 1.10.

And by the way is totally amx fault i just reinstall the server in fresh clean state! and does not work with 1.9

Why should i choose 1.1 instead of 1.8.2.

If i guess is just because 1.8.2 it's not so stable?

Thank you guys

-----------

UPDATE:

I just switch to 1.10

amx_modules
Currently loaded modules:
name version authorstatus
SQLite1.10.0.539 AMX Mod X Dev Teamrunning
Fun1.10.0.539 AMX Mod X Dev Teamrunning
Engine1.10.0.539 AMX Mod X Dev Teamrunning
FakeMeta 1.10.0.539 AMX Mod X Dev Teamrunning
GeoIP 1.10.0.539 AMX Mod X Dev Teamrunning
Sockets 1.10.0.539 AMX Mod X Dev Teamrunning
RegEx 1.10.0.539 AMX Mod X Dev Teamrunning
nVault1.10.0.539 AMX Mod X Dev Teamrunning
CStrike 1.10.0.539 AMX Mod X Dev Teamrunning
CSX1.10.0.539 AMX Mod X Dev Teamrunning
Ham Sandwich1.10.0.539 AMX Mod X Dev Teamrunning
MySQ 1.10.0.539 AMX Mod X Dev Teamrunning
12 modules

Still the same: %s

Can't believe it does not work just on 1.8.2

Last edited by PredatorBlock; 04-24-2020 at 21:48.
PredatorBlock is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 04-24-2020 , 21:47   Re: Client_print => %s
Reply With Quote #8

1.8.2 is not newer than 1.10. It's what comes after 1.9.
10 > 8
__________________

Last edited by OciXCrom; 04-24-2020 at 21:47.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
PredatorBlock
AlliedModders Donor
Join Date: Apr 2020
Old 04-24-2020 , 21:55   Re: Client_print => %s
Reply With Quote #9

Quote:
Originally Posted by OciXCrom View Post
1.8.2 is not newer than 1.10. It's what comes after 1.9.
10 > 8
Well you are right! i am to tired i haven't any option to make this work and i can't get it why isn't working.
PredatorBlock is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 04-24-2020 , 23:17   Re: Client_print => %s
Reply With Quote #10

Does it work with AMX Mod X 1.10 installed on a real HLDS server? Also, are you running a Steam version of the game?
__________________

Last edited by fysiks; 04-24-2020 at 23:26.
fysiks 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 03:41.


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