Reviving Royal Roulette

Discuss everything related to Shootmania.

Moderator: English Moderator

User avatar
chco
Posts: 290
Joined: 24 Dec 2012, 09:11

Re: Reviving Royal Roulette

Post by chco »

Uhhh.. if I run a stand-alone server.. I need the server-script settings ? I need them for Royal and Elite as well and I'm pretty sure I need some for Royal Roulette :p
Image
User avatar
chco
Posts: 290
Joined: 24 Dec 2012, 09:11

Re: Reviving Royal Roulette

Post by chco »

Extracted your .gbx .. and found what I needed :-) Server is running :p Except for some settings I do not have yet it kinda works :p
Image
User avatar
weerwolf
Posts: 603
Joined: 15 Jun 2010, 21:21
Location: Wijchen, Netherlands
Contact:

Re: Reviving Royal Roulette

Post by weerwolf »

The titlepack is stored in your /Packs folder.
in the matchsettings the only thing u config is
<title>RoyalRoulette@weerwolf</title>
which holds everything

And how t F did u extract the pack - its supposed to give some protection again looting custom work inside
at least back then
User avatar
chco
Posts: 290
Joined: 24 Dec 2012, 09:11

Re: Reviving Royal Roulette

Post by chco »

Hey I'm Sen-Sai.. nothing hides from me :-)
But with a stand-alone server I needed to know the name of your script as well and I need a settings script so Maniacontrol can take care of the setting instead of the default settings (esc->manager server).
Image
User avatar
weerwolf
Posts: 603
Joined: 15 Jun 2010, 21:21
Location: Wijchen, Netherlands
Contact:

Re: Reviving Royal Roulette

Post by weerwolf »

I do not have these extra settings specified in my matchfile, it takes it from the script as i understood.
But in case u do need that

Code: Select all

<setting name="S_DynamicPointLimitFactor" type="integer" value="30"/>
<setting name="S_RouletteDebug" type="boolean" value="0"/>
<setting name="S_RouletteDebugNumber" type="integer" value="0"/>
<setting name="S_JackpotDebug" type="boolean" value="0"/>
Please note that these are higly subject to changes so and are not communicated in updates, u might find this
troublesome for keeping the server up to date in a good way.

For now the script resides within the titlepack in under / Shootmania
So if u do need that

Code: Select all

<script_name>ShootMania\RoyalRoulette.Script.txt</script_name>
User avatar
chco
Posts: 290
Joined: 24 Dec 2012, 09:11

Re: Reviving Royal Roulette

Post by chco »

Thanks!
Image
User avatar
chco
Posts: 290
Joined: 24 Dec 2012, 09:11

Re: Reviving Royal Roulette

Post by chco »

Do update some of my plug-ins for Royal Roulette..
Usually when a person loses all armours there is a callback telling me what weapon killed was used.
Have you added new names/numbers for weapons ?

Also .. in Royal there is a RoyalRoundWinner callback. Is it also fired in RoyalRoulette ? Same as SM_SCORES end BEGINMAP ?
e.g. I check for a callback SM_SCORES. Within there's a section that will be call EndMap so I know a map is finished (I don't do this always, useally on the callback endmap). I then write stuff to the database, but it is not triggered in RoyalRoulette ?
Image
User avatar
weerwolf
Posts: 603
Joined: 15 Jun 2010, 21:21
Location: Wijchen, Netherlands
Contact:

Re: Reviving Royal Roulette

Post by weerwolf »

Don't know, never got into callbacks before.
The only thing i could do is to compare from what is in my adapted script from mp3, and
what is in the latest github version of royal pro
Which shows:

Code: Select all

XmlRpc::Royal_RoundWinner(RoundWinnerPlayer);

Code: Select all

XmlRpc::RegisterCallback(C_Callback_Royal_RoundWinner, """
* Name: {{{C_Callback_Royal_RoundWinner}}}
* Type: CallbackArray
* Description: Callback sent at the end of the round with the login of the winner.
* Data:
	- Version >=2.0.0:
	```
	[
		"{
			"login": "PlayerLogin" //< Login of the player who won the round
		}"
	]
	```
""");
And as for the weapons, it was never coded to be included in callback for the same reason.
User avatar
chco
Posts: 290
Joined: 24 Dec 2012, 09:11

Re: Reviving Royal Roulette

Post by chco »

I've been dinging a bit further and that actually would seem to be the problem.
A lot of new callback were introduced and the old ones deprecated.
Image
Post Reply

Return to “Shootmania”

Who is online

Users browsing this forum: No registered users and 2 guests