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

[CSS/CS:GO] Roll The Dice


Post New Thread Reply   
 
Thread Tools Display Modes
gamemann
Veteran Member
Join Date: Sep 2009
Location: Mullica Hill, New Jersey
Old 05-13-2016 , 13:46   Re: [CSS/CS:GO] Roll The Dice
Reply With Quote #191

Hello, I am receiving the follow error after switching my CS:S server from Linux to Windows:
Code:
 05/13/2016 - 12:38:09: [SM] Plugin encountered error 25: Call was aborted
L 05/13/2016 - 12:38:09: [SM] Native "SetFailState" reported: g_hBloodDrips = INVALID_HANDLE!
L 05/13/2016 - 12:38:09: [SM] Displaying call stack trace for plugin "ata_rollthedice.smx":
I would assume the Windows signature for "BloodDrips" is not working? Does anybody have an updated GameData file I can try (the official ones do not work)?

6-20-16 EDIT:
Well, I gave my first attempt in finding signatures in SourceMod for Windows. I started with finding an updated signature for "BloodTrips". I found one and it appears to be working (tested on my CS:S Windows test server):
Code:
"Games"
{
	"cstrike"
	{
		"Offsets"
		{
			"SetModel"
			{
				"windows"	"25"
				"linux"		"26"
			}

			"OnTakeDamage"
			{
				"windows"	"60"
				"linux"		"61"
			}
		}
		"Signatures"
		{
			"SetModel"
			{
				"library"	"server"
				"windows"	"\x56\x8b\x74\x24\x08\x57\x8b\xf9\x2A\x2A\x2A\x2A\x2A\x2A\x8b\x01\x56\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x8b\x11\x50\x2A\x2A\x2A\x85\xc0\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x8b\x11\x50\x2A\x2A\x24\x83\xf8\x01"
				"linux"		"@_ZN11CBaseEntity8SetModelEPKc"
			}

			"BloodDrips"
			{
				"library"	"server"
				"windows"	"\x55\x8B\xEC\x57\x8B\x7D\x10"
				"linux"		"@_Z15UTIL_BloodDripsRK6VectorS1_ii"
			}

			"BloodSpray"
			{
				"library"	"server"
				"windows"	"\x8B\x4C\x24\x0C\x83\xEC\x2A\x83\xF9\xFF\x0F\x2A\x2A\x2A\x2A\x2A\xD9\xEE\x33\xC0\xD9\x2A\x2A\x2A\x89\x2A\x2A\x2A\xD9"
				"linux"		"@_Z15UTIL_BloodSprayRK6VectorS1_iii"
			}

			"TakeDamageInfo"
			{
				"library"	"server"
//				"windows"	"\x83\xEC\x58\x57\x8B\xF9\x8B\x0D\x2A\x2A\x2A\x2A\x85\xC9\x0F\x84"
				"windows" "\x83\xEC\x2A\x57\x8B\xF9\x8B\x0D\x2A\x2A\x2A\x2A\x85\xC9\x0F\x84\x2A\x2A\x2A\x2A\x8B\x11\x56\x8B"
				"linux"		"@_ZN11CBaseEntity10TakeDamageERK15CTakeDamageInfo"
			}
		}
	}
}
I hope this helps some of you!

Thanks.
__________________
Software/network engineer. I often work on a neat project called The Modding Community.

Check out my GitHub here!

Last edited by gamemann; 06-20-2016 at 17:49.
gamemann is offline
Send a message via Skype™ to gamemann
gamemann
Veteran Member
Join Date: Sep 2009
Location: Mullica Hill, New Jersey
Old 09-17-2016 , 13:02   Re: [CSS/CS:GO] Roll The Dice
Reply With Quote #192

Hello, this plugin broken after the latest CS:GO update for my CS:GO Windows server. The BloodDrip's signature was invalid. I've went into IDA and found a new signature that is working for my servers:
Code:
\x55\x8B\xEC\x83\xE4\xF8\x83\xEC\x78\x56\x8B\xF1\x57\x80\xBE\x36\x02\x00\x00\x00
Full gamedata file for CS:GO (ata_rollthedice.games.txt):
Code:
"Games"
{
	"csgo"
	{
		"Offsets"
		{
      "SetModel"
			{
				"windows"	"26"
				"linux"		"27"
			}

			"OnTakeDamage"
			{
				"windows"	"67"
				"linux"		"68"
			}
		}
		"Signatures"
		{
			"SetModel"
			{
				"library"	"server"
				"windows"	"\x56\x8b\x74\x24\x08\x57\x8b\xf9\x2A\x2A\x2A\x2A\x2A\x2A\x8b\x01\x56\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x8b\x11\x50\x2A\x2A\x2A\x85\xc0\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x8b\x11\x50\x2A\x2A\x24\x83\xf8\x01"
				"linux"		"@_ZN11CBaseEntity8SetModelEPKc"
			}

			"BloodDrips"
			{
				"library"	"server"
				"windows"	"\x55\x8B\xEC\x83\xE4\xF8\x83\xEC\x78\x56\x8B\xF1\x57\x80\xBE\x36\x02\x00\x00\x00"
				"linux"		"@_Z15UTIL_BloodDripsRK6VectorS1_ii"
			}

			"BloodSpray"
			{
				"library"	"server"
				"windows"	"\x8B\x4C\x24\x0C\x83\xEC\x2A\x83\xF9\xFF\x0F\x2A\x2A\x2A\x2A\x2A\xD9\xEE\x33\xC0\xD9\x2A\x2A\x2A\x89\x2A\x2A\x2A\xD9"
				"linux"		"@_Z15UTIL_BloodSprayRK6VectorS1_iii"
			}

			"TakeDamageInfo"
			{
				"library"	"server"
				"windows" "\x83\xEC\x2A\x57\x8B\xF9\x8B\x0D\x2A\x2A\x2A\x2A\x85\xC9\x0F\x84\x2A\x2A\x2A\x2A\x8B\x11\x56\x8B"
				"linux"		"@_ZN11CBaseEntity10TakeDamageERK15CTakeDamageInfo"
			}
		}
	}
}
I hope this helps!

Thanks.
__________________
Software/network engineer. I often work on a neat project called The Modding Community.

Check out my GitHub here!
gamemann is offline
Send a message via Skype™ to gamemann
ldooks
Junior Member
Join Date: Jan 2014
Old 10-09-2016 , 16:15   Re: [CSS/CS:GO] Roll The Dice
Reply With Quote #193

Could this be re-worked to work with insurgency?
__________________
ldooks is offline
Tactical--Nade
Junior Member
Join Date: Aug 2007
Location: Buffalo, NY 69.65.32.
Old 02-02-2017 , 00:45   Re: [CSS/CS:GO] Roll The Dice
Reply With Quote #194

CSS Weapons crashing our server:
Everyone on our server likes this plugin , but CS:GO don't like the CSS weapons that are in this plugin....
I have attempted to re-write the file replacing the CSS weapons with CS:GO weapons, but for some reason it still happens to give the CSS weapons & then our server crashes every time we get the CSS weapons.
Can you please re-write one of these for CS:GO only please. If not; no big deal I tried , but the plugin was appreciated while it lasted as we will be removing it till we fix it, or find/get a fix.
__________________
Your Friend,
']['/lC']['lC/ll_--N/ll)E
Tactical--Nade is offline
NeoxX
AlliedModders Donor
Join Date: Jan 2014
Location: Germany
Old 11-28-2018 , 12:39   Re: [CSS/CS:GO] Roll The Dice
Reply With Quote #195

If anyone is interested!

Changelog: 1.1.2 (CS:S Only)
Spoiler


Greetings Neoxx
Attached Files
File Type: zip ata_rollthedice 1.1.2.zip (3.24 MB, 306 views)
__________________

Last edited by NeoxX; 11-30-2018 at 18:23.
NeoxX is offline
iGreen112
Junior Member
Join Date: Dec 2018
Location: Moldova!
Old 12-29-2018 , 11:06   Re: [CSS/CS:GO] Roll The Dice
Reply With Quote #196

csgo server crashes, latest sm
iGreen112 is offline
xJockey
New Member
Join Date: Sep 2020
Old 09-03-2020 , 18:00   Re: [CSS/CS:GO] Roll The Dice
Reply With Quote #197

Hello, is there any way to disable !rtd for pistol round only?
xJockey is offline
asaguda
Junior Member
Join Date: May 2007
Old 05-01-2023 , 06:29   Re: [CSS/CS:GO] Roll The Dice
Reply With Quote #198

Sorry for reviving such an old thread/plugin, but I'm running this on a CS:GO server on my spare windows computer, and am running into an inconvenient issue trying to customize my sounds.

If I add my files to the config as "sound/customrtd/sound.mp3" they get downloaded, but not played because CS:GO claims the file is missing.
I found that sm_play as a sound command doesn't work if you prefix it with 'sound/' but if you drop that out of the command it then works.
But if I add my files to the config as "customrtd/sound.mp3" they now play normally, but are not downloaded by clients, CS:GO will claim there was an error downloading it and the server will say the sound doesn't exist.

I tried to look into the code to see if this would be a simple fix but I'm not smart enough to understand it. I found the sections that deal with building the download table and caching the sounds, and to play the sounds if there is one associated with the effect, but nothing obvious seems wrong.
I also tried to check the 2018 version above to see if it did anything different, but the code for sounds looks the same using a comparing plugin for Notepad++, and it adds the mario jump sound effect into sound/ata/mario_jump.mp3, but is listed in the config without the sound folder- So at a first, tired glance, it wouldn't download correctly, but it would play correctly if I already had it.

At this point I'm working around it by sending my friends a .zip with the audio snippets in, and considering seeing if I can just.. double up on the sound file references in the config, but both solutions are awkward and will still result in errors for downloads and/or missing sounds.
asaguda 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 19:41.


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