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

[orpheu] modify A2S_INFO


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Fedcomp
Member
Join Date: Feb 2009
Location: Russia
Old 07-30-2012 , 16:01   [orpheu] modify A2S_INFO
Reply With Quote #1

Hello.
How to catch and modify A2S_INFO using orpheu?
for example how to replace map?
__________________

Last edited by Fedcomp; 07-30-2012 at 16:02.
Fedcomp is offline
Send a message via ICQ to Fedcomp
Old 07-30-2012, 16:57
Plrip
This message has been deleted by Exolent[jNr]. Reason: English only.
Old 07-30-2012, 16:59
Plrip
This message has been deleted by Exolent[jNr]. Reason: English only.
Chuvi
Junior Member
Join Date: Feb 2012
Location: Russia,Saint-Petersburg
Old 07-30-2012 , 17:04   Re: [orpheu] modify A2S_INFO
Reply With Quote #2

Prilp, as far as i know, it's english-speaking forum.
Try to speak English.

Chuvi is offline
OvidiuS
Chillaxin'
Join Date: Dec 2009
Location: Serbia
Old 07-30-2012 , 20:05   Re: [orpheu] modify A2S_INFO
Reply With Quote #3

I guess you will have to hook NET_SendPacket function, or SVC_Info...
OvidiuS is offline
Send a message via Skype™ to OvidiuS
Plrip
New Member
Join Date: Jan 2012
Location: Sevastopol
Old 07-31-2012 , 07:16   Re: [orpheu] modify A2S_INFO
Reply With Quote #4

in Deagsmapmanager, there is something like
Plrip is offline
Send a message via Skype™ to Plrip
Fedcomp
Member
Join Date: Feb 2009
Location: Russia
Old 07-31-2012 , 15:59   Re: [orpheu] modify A2S_INFO
Reply With Quote #5

Quote:
Originally Posted by OvidiuS View Post
I guess you will have to hook NET_SendPacket function, or SVC_Info...
can you show me some code? im new in orpheu.
__________________
Fedcomp is offline
Send a message via ICQ to Fedcomp
OvidiuS
Chillaxin'
Join Date: Dec 2009
Location: Serbia
Old 07-31-2012 , 17:39   Re: [orpheu] modify A2S_INFO
Reply With Quote #6

Hm, i was wrong, SVC_InfoString you should hook.
Anyway if you change map name you will have problems with clients, because they need that info to identify which map are they going to load.

I don't know how to do this, because it's tricky. Hope Arkshine will help with this one.

Few months ago i created signature for SVC_InfoString, it's loaded on linux server.
Signature:
Code:
 
	"name" : "SVC_InfoString",
	"library" : "engine",
	"return" :
	{
		"type" : "int"
	},
	"identifiers":
	[
		{
			"os" : "linux",
			"mod" : "cstrike",
			"value" : "SVC_InfoString"
		}
	]
}


Code:
 	Parsing file "SVC_InfoString" started
				Return type "int" validated
				Searching for name "SVC_InfoString"... FOUND
		Parsing file "SVC_InfoString" ended
I had same idea like you posted, but someone told me it's not good.

Last edited by OvidiuS; 07-31-2012 at 17:46.
OvidiuS is offline
Send a message via Skype™ to OvidiuS
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 07-31-2012 , 19:06   Re: [orpheu] modify A2S_INFO
Reply With Quote #7

I think it has been fix on the yesterday hlds update.

Quote:
We have released an update to Half-Life 1 dedicated servers. This update fixes a potential vulnerability in the challenge/response protocol uses for out of band queries (in particular A2S_RULES and A2S_PLAYERS responses). The update also fixes sprays not functioning correctly when new users join a server. Also as a reminder, we will be disabling the older heartbeating protocol later this week so you need to update to be listed on the master server. This change only effect the server side, any clients (i.e server list generators or management tools) will be unaffected by this change. - Alfred
__________________
- tired and retired -

- my plugins -

Last edited by ConnorMcLeod; 07-31-2012 at 19:07.
ConnorMcLeod is offline
Fedcomp
Member
Join Date: Feb 2009
Location: Russia
Old 08-03-2012 , 04:18   Re: [orpheu] modify A2S_INFO
Reply With Quote #8

Quote:
Originally Posted by ConnorMcLeod View Post
I think it has been fix on the yesterday hlds update.
you mean example from OvidiuS must works now?
__________________
Fedcomp is offline
Send a message via ICQ to Fedcomp
Fedcomp
Member
Join Date: Feb 2009
Location: Russia
Old 09-23-2012 , 07:38   Re: [orpheu] modify A2S_INFO
Reply With Quote #9

any ideas?
__________________
Fedcomp is offline
Send a message via ICQ to Fedcomp
OvidiuS
Chillaxin'
Join Date: Dec 2009
Location: Serbia
Old 09-23-2012 , 13:14   Re: [orpheu] modify A2S_INFO
Reply With Quote #10

Quote:
Originally Posted by Fedcomp View Post
any ideas?
K.K.Lv managed to patch map info.
Check this thread: https://forums.alliedmods.net/showthread.php?t=194069
OvidiuS is offline
Send a message via Skype™ to OvidiuS
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 01:11.


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