SRB2 Message Board  

Go Back   SRB2 Message Board > Sonic Robo Blast 2 > Kart Releases & Mods > Kart Miscellaneous

Reply
 
Thread Tools
[V11] HOSTMOD - Syncfail fixes and server tools (+ SPB Attack) Details »»
[V11] HOSTMOD - Syncfail fixes and server tools (+ SPB Attack)
Version: 11, by TyroneSama (now "Tyron") TyroneSama is offline
Developer Last Online: Aug 2020

Category: Version: SRB2 Kart Rating: (10 votes - 4.20 average)
Released: 06-24-2019 Last Update: 08-07-2020 Favourites: 8
Scripts Re-Useable Content

You should probably read this.

Utilities for dedicated servers. Stop syncfails, display information to players, improve stability, script random or scheduled events, allow command voting, check for custom button bindings, more visible admin messages...a bunch of stuff.

All features are off by default. You control what the script does.

Documentation moved to hyuu.cc/hostmod since everything about this forum bothers me. Check there for full features and configuration.

(SPB Attack is no longer included in HOSTMOD. It's being rewritten at the moment, but a legacy standalone download is provided for those interested. Relevant cvars are "spbatk", "spb_timeout", "spb_waitmsg", and "spb_plugmsg".)

Download Now

File Type: pk3 KL_SPBAttack_Legacy.pk3 (1.21 MB, 181 views)
File Type: pk3 KL_HOSTMOD_V11.pk3 (63.9 KB, 106 views)

Screenshots

Click image for larger version

Name:	mb_please_take_my_image.png
Views:	661
Size:	254.2 KB
ID:	20361  

Supporters / CoAuthors

Show Your Support

  • The author of this addon has given explicit permission for its content to be re-used and/or reproduced.

Comments
Old 06-22-2020   #22
TyroneSama
now "Tyron"
Default

HOSTMOD V7 released. Some notes going forward:

- All commands have changed, consistently namespaced under "hm_" with shorter names. ALL SERVER CONFIGS WILL BE BROKEN UNTIL YOU UPDATE THESE.
- SPB Attack is no longer distributed with HOSTMOD, since the file limit has been significantly relaxed and it's no longer required. This shaves a few MB off the script, reducing it to nearly zero size—most of it was SPB Attack's custom result music. A standalone download is available instead.
- Too many new features to list. Seriously, read the command reference.
- Some defunct features removed.
- Clients can now auto-load their HOSTMOD settings (like clan tags and autoaccel!) with hostmod.cfg.

Last edited by TyroneSama; 06-23-2020 at 12:43 AM.
TyroneSama is offline   Reply With Quote
Old 06-22-2020   #23
Eldog
 
Eldog's Avatar
Default

Quote:
ironman: Toggle IRONMAN mode, which randomizes your character at the start of every round.
Okay but when do we get finaldestination.lua integrated into hostmod
Eldog is offline   Reply With Quote
Old 06-24-2020   #24
Katmint
 
Katmint's Avatar
Default

I've always wanted autoaccel in this game. My hands suck so not having to put constant pressure on accelerate is immensely helpful. I suppose there's the lost utility of releasing accel during drifts but that's minor enough in comparison to the benefit this provides for me to not really care about it.
Katmint is offline   Reply With Quote
Old 06-24-2020   #25
TyroneSama
now "Tyron"
Default

Quote:
Originally Posted by Katmint View Post
I suppose there's the lost utility of releasing accel during drifts but that's minor enough in comparison to the benefit this provides for me to not really care about it.
That's sort of where I'm at with it, yeah. In the future, I'd like to add a "hold accel to release accel" behavior, maybe optionally, but I spent a long time trying to find a way that was both technically possible and felt natural. In the end, I wanted to get a release out instead of letting perfect be the enemy of good.

I'm glad someone else with shitty hands gets me, though. ♥

Last edited by TyroneSama; 06-24-2020 at 10:31 PM.
TyroneSama is offline   Reply With Quote
Old 07-06-2020   #26
TyroneSama
now "Tyron"
Default

HOSTMOD V8 released.
- Scoreboard now supports Battle mode, including eliminated players.
- Fixed a rare error print when the target of a votekick left before being kicked.
- Votes now treat "no vote" as "no" by default. Use hm_vote_allowidc On to restore the old behavior. This should fix situations where malicious votes require a response to be prevented.
TyroneSama is offline   Reply With Quote
Old 2 Weeks Ago   #27
TyroneSama
now "Tyron"
Default

HOSTMOD V9 released.
- Fixed an issue where attempted votekicks would explode and error out.
- Fixed an issue where chooseweighted didn't, uh, actually work under any circumstances. Whoops.
- hm_scoreboard now discloses Frantic Items and all KartMP 1.3 properties.
- hm_scoreboard now correctly colors players under the effects of Invincibility and Grow.
- When players are alone on a server, they'll be notified with a distinct sound when someone else joins. This should help for seeding netgames on empty servers, since you don't have to actively be watching the window to catch a drive-by join.

Last edited by TyroneSama; 2 Weeks Ago at 02:20 AM.
TyroneSama is offline   Reply With Quote
Old 1 Week Ago   #28
TyroneSama
now "Tyron"
Default

HOSTMOD V10 released. IT MIGHT FIX SHRINKFAIL?!

Use hm_saferockets to resolve sync issues related to stripped Rocket Sneakers, causing explosions and Shrink to sometimes trigger a syncbomb. This makes no gameplay changes, only visual changes.
Use hm_safemines to make trailed mines intangible until they're thrown, resolving a rarer source of desync (though this does make gameplay changes).

This release owes a lot to Ashnal, who is responsible for originally pinning down these issues (and a hardcode patch that could potentially resolve them in future versions), and the testers that joined my impromptu test games. A Lua mitigation can hopefully patch up the holes while we're waiting.

I can't promise this'll be perfect—sync issues are hard to pin down—but between my testing and Ashnal's, these mitigations seem to drastically improve stability. Let me know how things go!

Last edited by TyroneSama; 1 Week Ago at 06:37 AM.
TyroneSama is offline   Reply With Quote
Old 6 Days Ago   #29
SCOTT0852
 
SCOTT0852's Avatar
Default

Restat seems to have a bug where the new stats don't always apply. It usually happens the first time I join a server, but here it happened even during a later race.
SCOTT0852 is offline   Reply With Quote
Old 5 Days Ago   #30
TyroneSama
now "Tyron"
Default

Restat's control flow is a little wacky because of the old hacks required for replay compatibility. Replay fixes dropped in 1.2 and removed the need for most of them, so it's a little overdue for a revisit—I'll try to tackle this in the next release. Thanks for confirming that this is still happening.
TyroneSama is offline   Reply With Quote
Old 4 Days Ago   #31
TyroneSama
now "Tyron"
Default

HOSTMOD V11 released.
- New features, hm_cooldownfix_indirect and hm_cooldownfix_hyudoro, resolve base game bugs where only one Hyudoro or Shrink/SPB can be rolled per race.
- Probably fixed some weird behavior where Restat wouldn't apply your stat changes.
TyroneSama is offline   Reply With Quote
Old 3 Days Ago   #32
Alessand97
 
Alessand97's Avatar
Default

hm_scoreboard_addmod doesn't seem to be working correctly. It doesn't work if used in kartserv.cfg but works when used ingame with the console.

Last edited by Alessand97; 3 Days Ago at 03:20 AM.
Alessand97 is offline   Reply With Quote
Old 3 Days Ago   #33
TyroneSama
now "Tyron"
Default

Quote:
Originally Posted by Alessand97 View Post
hm_scoreboard_addmod doesn't seem to be working correctly. It doesn't work if used in kartserv.cfg but works when used ingame with the console.
It seems to work on my end, and I can't fix what I can't test. Other hosts seem to report it working alright as well.

My gut says this is an issue with your setup, though if you can put together a trivial test case I can take a second look.
TyroneSama is offline   Reply With Quote
Old 3 Days Ago   #34
Alessand97
 
Alessand97's Avatar
Default

Quote:
//Server info
servername "testing"
maxplayers 12

wait 10

//Settings
kartspeed hard
kartvoterulechanges Frequent
karteliminatelast On

wait 10

//Network
downloading On
http_source "https://hyuu.cc/repo"

wait 10

//KartMP
kmp_bumpspark On
kmp_hardsneakers On
kmp_extendflashtics On
kmp_slowspinout On
kmp_floatingitemfuse On
kmp_itemlimiter On
kmp_orbitlimit On
kmp_hyudoro On
kmp_orbinautfuse On
kmp_growthbump On
kmp_haste On
kmp_respawnpoints On
kmp_shrinkcleanse On
kmp_shrinkduration On
kmp_battleaccel On

wait 10

//Hostmod BUGFIXES
hm_cooldownfix_indirect On
hm_cooldownfix_hyudoro On
hm_saferockets On
hm_safemines Off

//Hostmod Battle
hm_timelimit "600"
hm_bail "On"

//Hostmod Vote
hm_votable "exitlevel"

//Hostmod MOTD
hm_motd ON
hm_motd_nag Off
hm_motd_bg "white"
hm_motd_name "testing"
hm_motd_tagline "Welcome"

//Hostmod Restat
hm_restat On
hm_restat_notify On

//Hostmod Scoreboard
hm_scoreboard On
hm_scoreboard_humor On
hm_scoreboard_addline "Write rtv to change maps!"
hm_scoreboard_addmod "test1"

//Hostmod Autoaccel
hm_autoaccel On

hm_scoreboard_addmod "test2"
wait 10

hm_scoreboard_addmod "test3"
//Start with a random map
alias ~rand "inttime 0; advancemap Random; exitlevel; wait 5; inttime 10; advancemap Vote"
~rand
hm_scoreboard_addmod "test4"
wait 10

hm_scoreboard_addmod "test5"

I did some testing and with this config only test3, 4 and 5 works.

Last edited by Alessand97; 3 Days Ago at 05:40 PM.
Alessand97 is offline   Reply With Quote
Old 3 Days Ago   #35
Gaudy
Default

Hi, I have a differente issue, hm_scoreboard_addline seems isnt support many lines, its offen allow/support 2 lines, sometimes allow 4 or 5 lines exactly same text






Quote:
hm_motd "On"
hm_motd_name "ƒ[LATAM] ‚InsertCoin"
hm_motd_contact "Gaudy#4316"
hm_restat "On"
hm_restat_notify "On"
hm_powersound "On"
hm_saferockets "On"
hm_safemines "On"
hm_cooldownfix_indirect "On"
hm_cooldownfix_hyudoro "On"

kmp_bumpspark "On"
kmp_extendflashtics "On"
kmp_slowspinout "On"
kmp_floatingitemfuse "On"
kmp_itemlimiter "On"
kmp_hyudoro "On"
kmp_orbinautfuse "On"
kmp_growthbump "On"

http_source hyuu.cc/repo
elimination 0
hornobnoxious 0

hm_scoreboard "On"
hm_scoreboard_addline "‚Map Packs:"
hm_scoreboard_addline "Chengi's TA Pack"
hm_scoreboard_addline "Nightmare Pack"
hm_scoreboard_addline "Fickle Hearts"
hm_scoreboard_addline "Record Attack-Extended"



Last edited by Gaudy; 2 Days Ago at 10:50 PM.
Gaudy is offline   Reply With Quote
Old 3 Days Ago   #36
TyroneSama
now "Tyron"
Default

Quote:
Originally Posted by Alessand97 View Post
I did some testing and with this config only test3, 4 and 5 works.
Cannot reproduce, the provided config shows all 5 added lines for me.

Quote:
Originally Posted by Gaudy View Post
Hi, I have a differente problem, hm_scoreboard_addline seems isnt support many lines, its offen allow/support 2 lines, sometimes allow 4 or 5 lines exactly same text
Add waits. This is not a HOSTMOD issue—the game limits how much information can be passed through a config or a command at one time.
TyroneSama is offline   Reply With Quote
Old 2 Days Ago   #37
Gaudy
Default

Quote:
Add waits. This is not a HOSTMOD issue—the game limits how much information can be passed through a config or a command at one time
Thanks, that hleped me.
Gaudy is offline   Reply With Quote
Reply

Thread Tools

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 Off
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:14 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2020, vBulletin Solutions, Inc.