Poll

?

.
84 (71.2%)
,
34 (28.8%)

Total Members Voted: 116

Author Topic: Slayer  (Read 233088 times)

I'm trying to make a gamemode but there's a bit of a problem when it first loads.
Code: [Select]
Loading Add-On: Gamemode_Slayer_JailBreak (CRC:-2009423028)
Executing Add-Ons/Gamemode_Slayer_JailBreak/server.cs.
Executing Add-Ons/Gamemode_Slayer/Main.cs.
Activating package: Slayer_Main
ERROR: File "/config_preload.cs" is not in one of the default directories
BackTrace: ->ServerSettingsGui::clickLaunchGame->createServer->onServerCreated->loadAddOns->Slayer::onAdd
Slayer Version
 + Compatible Version:
 + Core Directory:
 + Config Directory:
 + Debug Mode:
ERROR: File "/Support/support.cs" is not in one of the default directories
BackTrace: ->ServerSettingsGui::clickLaunchGame->createServer->onServerCreated->loadAddOns->Slayer::onAdd
ERROR: File "/Support/support.cs.dso" is not in one of the default directories
BackTrace: ->ServerSettingsGui::clickLaunchGame->createServer->onServerCreated->loadAddOns->Slayer::onAdd
Missing file: /Support/Support.cs!
Add-Ons/Gamemode_Slayer/Main.cs (31): Unable to find function Slayer_Support::LoadFiles
ERROR: File "/Preferences.cs" is not in one of the default directories
BackTrace: ->ServerSettingsGui::clickLaunchGame->createServer->onServerCreated->loadAddOns->Slayer::onAdd->Slayer::DeleteOldConfigFiles
ERROR: File "/Preload.cs" is not in one of the default directories
BackTrace: ->ServerSettingsGui::clickLaunchGame->createServer->onServerCreated->loadAddOns->Slayer::onAdd->Slayer::DeleteOldConfigFiles
ERROR: File "/server.log" is not in one of the default directories
BackTrace: ->ServerSettingsGui::clickLaunchGame->createServer->onServerCreated->loadAddOns->Slayer::onAdd->Slayer::DeleteOldConfigFiles
ERROR: File "/Dependencies/Preferences.cs" is not in one of the default directories
BackTrace: ->ServerSettingsGui::clickLaunchGame->createServer->onServerCreated->loadAddOns->Slayer::onAdd
ERROR: File "/Dependencies/Preferences.cs.dso" is not in one of the default directories
BackTrace: ->ServerSettingsGui::clickLaunchGame->createServer->onServerCreated->loadAddOns->Slayer::onAdd
Missing file: /Dependencies/Preferences.cs!
Add-Ons/Gamemode_Slayer/Main.cs (38): Unable to find function Slayer_Support::LoadFiles
Add-Ons/Gamemode_Slayer/Main.cs (39): Unable to find function Slayer_Support::LoadFiles
Add-Ons/Gamemode_Slayer/Main.cs (42): Unable to find function Slayer_Support::LoadFiles
Add-Ons/Gamemode_Slayer/Main.cs (45): Unable to find function Slayer_Support::LoadFiles
Add-Ons/Gamemode_Slayer/Main.cs (55): Unable to find function Slayer_checkBricks

Add-Ons/Gamemode_Slayer_JailBreak/server.cs (0): Unable to find object: '' attempting to call function 'addMode'
BackTrace: ->ServerSettingsGui::clickLaunchGame->createServer->onServerCreated->loadAddOns

Executing Add-ons/Gamemode_Slayer/Dependencies/Preferences.cs.
Add-ons/Gamemode_Slayer/Dependencies/Preferences.cs (400): Unable to find function Slayer_Support::getDynamicVariable
Add-ons/Gamemode_Slayer/Dependencies/Preferences.cs (379): Unable to find function Slayer_Support::setDynamicVariable
Add-ons/Gamemode_Slayer/Dependencies/Preferences.cs (381): Unable to find function Slayer_Support::debug
Add-ons/Gamemode_Slayer/Dependencies/Preferences.cs (400): Unable to find function Slayer_Support::getDynamicVariable
Add-ons/Gamemode_Slayer/Dependencies/Preferences.cs (379): Unable to find function Slayer_Support::setDynamicVariable
Add-ons/Gamemode_Slayer/Dependencies/Preferences.cs (381): Unable to find function Slayer_Support::debug
Add-ons/Gamemode_Slayer/Dependencies/Preferences.cs (0): Unable to find function Slayer_Support::debug
0 datablocks added.

Loading Add-On: Gamemode_Slayer (CRC:-220097412)
Executing Add-Ons/Gamemode_Slayer/server.cs.
Executing Add-Ons/Gamemode_Slayer/Main.cs.
Activating package: Slayer_Main
 package Slayer_Main is already active
Slayer Version 3.7.4
0 datablocks added.

This is what I'm doing in the code (exactly what your documentation reference says):
Code: [Select]
// Init
if($Addon__Gamemode_Slayer == 1)
{
    if(!isObject(Slayer))
        exec("Add-Ons/Gamemode_Slayer/Main.cs");
   
    if($Slayer::Server::Dependencies::Gamemodes)
        exec("Add-Ons/Gamemode_Slayer/Dependencies/Gamemodes.cs");
   
    Slayer.Gamemodes.addMode("JailBreak","JlBrk",1,1);
}

// Prefs
if(!$Slayer::Server::Dependencies::Preferences)
exec("Add-ons/Gamemode_Slayer/Dependencies/Preferences.cs");
Slayer.Prefs.addPref("JlBrk","Prisoner Team","%mini.JlBrk_prisonerName","string 50","Inmates",0,0,2,"Rules JlBrk Mode");
Slayer.Prefs.addPref("JlBrk","Guard Team","%mini.JlBrk_guardName","string 50","Guards",0,0,2,"Rules JlBrk Mode");

Ignore the documentation, sorry. I need to update that.

Just call forceRequiredAddOn("Gamemode_Slayer"); at the beginning of your server.cs. You can look at an existing Slayer gamemode if you need an example.

why are you capitalizing the Y in 'you'

People who have English as a non-first language do this sometimes.

Can there be a way with events to tell if another team picked up your team's flag? and another event that your flag was capped.

You had not respond of my posted.  I am asking you about this.
Can I add notification popup for your mod slayer or not?
What do you mean?
I am talk about this.
http://forum.blockland.us/index.php?topic=241364.0
I want know your answer about this.

Can there be a way with events to tell if another team picked up your team's flag? and another event that your flag was capped.
Yeah that can be in the next CTF update.

You had not respond of my posted.  I am asking you about this.I want know your answer about this.
Go for it!

Yeah that can be in the next CTF update.
Go for it!
okay what function for name of team  with the color something like that. So I can add it.

I have a couple suggestions - allow admins on the server to see death chat when they're alive, and you should also make a setting that disables spectating players (only free-roaming).

How about different point amounts for kills with different weapons? For example, if were to host a DM, I think it would be a fun mechanic to get 10 points for killing with a butterfly knife, and 1 with a gun. The way I think of it, you would set the default point value for a kill, then set it for any other specific weapons you wanted to?

Is there a pref or something to disable things slayer prints into the chat, for example spawning:

The reset message.
The "Team Slayer" message.
The "+ 1" life message.

etc.

Can you add something maybe in advanced settings of team's for not showing only that team's death?

How about different point amounts for kills with different weapons? For example, if were to host a DM, I think it would be a fun mechanic to get 10 points for killing with a butterfly knife, and 1 with a gun. The way I think of it, you would set the default point value for a kill, then set it for any other specific weapons you wanted to?

I like the idea but I don't want to take any time away from the main feature I'm working on: bots.

Is there a pref or something to disable things slayer prints into the chat, for example spawning:

No but will do.

Can you add something maybe in advanced settings of team's for not showing only that team's death?

I believe that if you download the alpha version the option will be available.
https://bitbucket.org/Greek2me/slayer/downloads/Gamemode_Slayer.zip

So, any info about the slayer bots?

Version 3.8 Beta 1

Download Now

Quote
WARNING

This is a beta release. Things may not work as expected. Please report bugs you encounter. This is not complete. This is not for inexperienced users.

Quote
BUG REPORTING

Report bugs here. Please provide detailed descriptions and upload your console log.

Quote from: Change Log (v3.8b1)
  • ADD Bot Team Filling: Bots will automatically be added or removed from a team to keep it at the desired number of players. For example, a 6v6 TDM with only 7 actual players would have the remaining 5 slots filled by bots.
  • ADD Bot Pathing: Place node bricks around your build (seriously, at every corner) to allow your bots to travel between objectives.
  • ADD Added spectator teams.
  • ADD Added per-team kill hiding.
  • ADD Added Slayer page to default help menu.
  • ADD Added minigame color selection.
  • ADD Added option to allow immediate team joining. (no swapping required)
  • ADD Created an option to change the location of Slayer bricks in the cart.
  • ADD Added release channel system.
  • GUI Moved some options to main Team panel from Advanced panel.
  • GUI Added GUI help popups.
  • GUI Added Slayer button to the Blockland Options menu.
  • BUG Fixed onMinigameReset being called multiple times.
  • BUG Fixed some cases where the minigame could not be edited.
  • BUG Can now attempt to swap with someone on a full team.
  • BUG Fixed the "allied teams never-ending round" issue.
  • BUG Team shuffle now works when the max players is set.
  • BUG Fixed cases of GUI not loading.
  • PREF Reverted default team shuffle mode to "New Team Every Time".
  • CNG Slayer bricks appear in the Special tab by default now.
  • CNG Self Deletes are now added to the death counter.
  • CNG _victoryCheck_Lives callback can now return -1 to indicate continuation of round.
  • CNG Slayer_MinigameSO::endRound now accepts reset time of -1, which causes minigame to not reset.

Downloading this update will force you into the beta release cycle, which you can opt out of by accessing the Slayer options menu from its new home in the Blockland menu GUI.
« Last Edit: October 17, 2013, 06:19:53 PM by Greek2me »

This is not for inexperienced users.
And you just know they're gonna use it anyway.



Also, no response.
I have a couple suggestions - allow admins on the server to see death chat when they're alive, and you should also make a setting that disables spectating players (only free-roaming).