Name of the gamemode displays as Base Gamemode in serverlist
4 replies, posted
Problem described in the title, but to elaborate:
I made a new gamemode called Dropzone. At launch everything was ok, occasionally some servers popped up in the server list with the correct name.
After some updates it began to be listed as Base Gamemode (the icon displayed correctly). I don't think anything in the code could impact naming (am I wrong?). Later I noticed that I forgot to put the workshopid in my dropzone.txt file. After putting it in the problem remained (could this be caused by servers running an older version?)
Here's my dropzone.txt file:
"dropzone"
{
"base" "base"
"title" "Dropzone"
"maps" "^drpz"
"menusystem" "1"
"workshopid" "1596162932"
"settings"
{
1
{
"name" "drpz_disableconfusion"
"text" "Disable Confusion"
"help" "Blocks confusion system."
"type" "CheckBox"
"default" "0"
}
2
{
"name" "drpz_disablestamina"
"text" "Disable Stamina"
"help" "Gives you unlimited sprint."
"type" "CheckBox"
"default" "0"
}
3
{
"name" "drpz_lives"
"text" "Starting Lives"
"help" "Amount of lives you start with each round."
"type" "Numeric"
"default" "3"
}
4
{
"name" "drpz_damagemultiplier"
"text" "Damage Multiplier"
"help" "Multiplies the damage by the chosen value (duhh)"
"type" "Numeric"
"default" "1"
}
5
{
"name" "drpz_knockbackmultiplier"
"text" "Knockback Multiplier"
"help" "Multiplies the knockback by the chosen value"
"type" "Numeric"
"default" "1"
}
6
{
"name" "drpz_attackspeed"
"text" "Attack Speed Multiplier"
"help" "The higher the number, the faster the attacks"
"type" "Numeric"
"default" "1"
}
7
{
"name" "drpz_extrajumps"
"text" "Extra Air Jumps"
"help" "The number of extra jumps you can do in the air"
"type" "Numeric"
"default" "2"
}
8
{
"name" "drpz_disablemana"
"text" "Disable Mana"
"help" "Never worry about mana cost."
"type" "CheckBox"
"default" "0"
}
9
{
"name" "drpz_preroundtime"
"text" "Preround Extension Time"
"help" "The amount of additional time you get to prepare after typing /reqeust."
"type" "Numeric"
"default" "15"
}
10
{
"name" "drpz_poweruprespawntime"
"text" "Powerup Respawn Time"
"help" "Sets how often the powerups respawn."
"type" "Numeric"
"default" "60"
}
11
{
"name" "drpz_disablepowerups"
"text" "Disable Powerups"
"help" "Blocks powerups from spawning."
"type" "CheckBox"
"default" "0"
}
12
{
"name" "drpz_disablemapevents"
"text" "Disable Special Map Events"
"help" "Disables special events on maps, for example: The moon creature on drpz_moonribs"
"type" "CheckBox"
"default" "0"
}
13
{
"name" "drpz_instaults"
"text" "Insta-ults"
"help" "You can cast ultimates with any amount of lives."
"type" "CheckBox"
"default" "0"
}
}
}
Also the path to the file is addons/dropzone/gamemodes/dropzone
Please help, it's driving me nuts.
Hey, it seems to work now. Some russian server that didn't update my mode shut down and now it displays correctly.
Oh, so you are the creator of Dropzone, it's a nice gamemode, i've played with some friends. Good job.
You could try messing around with this hook to possibly prevent something this like. Not 100% certain but I believe returning a string will force the gamemode name on the server list to be whatever is put there.
https://wiki.garrysmod.com/page/GM/GetGameDescription
No need for that anymore, but still thanks. Have some coins so they don't go to waste.
Sorry, you need to Log In to post a reply to this thread.