Sie sind nicht angemeldet.

Lieber Besucher, herzlich willkommen bei: sourceserver.info. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.

Tockra

Anfänger

  • »Tockra« ist der Autor dieses Themas

Beiträge: 44

Rootserver vorhanden: Nein

  • Nachricht senden

1

Samstag, 14. Januar 2012, 15:02

[Suche] Sourcemod Scripts für Jailserver

Hallo Leute,

Ich suche für sourcemod Plugins, die Befehle wie ("!v" (verweigern),"!e" (ergeben),"!lr" (Wünsche)) einführen.
Außerdem wüsste ich gerne, wie ich ein script schreibe, welches wenn ich !regeln eingebe ein Regelmenü öffnet.
Leider finde ich keine Plugins in diese Richtung, oder sie funktionieren nicht.

Gruß T.

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Tockra« (14. Januar 2012, 15:25)


rain

Super Moderator

Beiträge: 1 410

Wohnort: Lutherstadt Wittenberg

Beruf: Anlagenmechaniker

Rootserver vorhanden: Ja

  • Nachricht senden

2

Samstag, 14. Januar 2012, 15:41

Deine Wünsche sind uns befehl Meister:

Rules Menü: http://www.sourcemod.net/plugins.php?cat…=rules&search=1

Wie lerne ich das scripten: SourcePawn Programmierung: Videotutorialreihe

So und da wir dir so schnell geholfen haben was herraus zu suchen bist du nun dran! Bisschen eigen initiative ist nun mal gefragt ;)!





Tockra

Anfänger

  • »Tockra« ist der Autor dieses Themas

Beiträge: 44

Rootserver vorhanden: Nein

  • Nachricht senden

3

Samstag, 14. Januar 2012, 16:16

Auf meine zweite Frage sind die Links nützlich, aber leider nicht auf meine erste.

fluxX

Super Moderator

Beiträge: 1 056

Wohnort: Österreich

Beruf: IT Systemadministrator

Rootserver vorhanden: Ja

  • Nachricht senden

4

Samstag, 14. Januar 2012, 16:18

weil es villeicht keine dafür gibt?

Tockra

Anfänger

  • »Tockra« ist der Autor dieses Themas

Beiträge: 44

Rootserver vorhanden: Nein

  • Nachricht senden

5

Samstag, 14. Januar 2012, 18:18

Das ist aber doof, denn ich kann kein Eventscript verwenden, denn immer wenn ich Eventscript zusammen mit Sourcemod benutze, kommt bei "timeleft" "thetime" etc. die Serverausgabe 2 mal im Chat...

rain

Super Moderator

Beiträge: 1 410

Wohnort: Lutherstadt Wittenberg

Beruf: Anlagenmechaniker

Rootserver vorhanden: Ja

  • Nachricht senden

6

Samstag, 14. Januar 2012, 19:06


Das ist aber doof, denn ich kann kein Eventscript verwenden, denn immer wenn ich Eventscript zusammen mit Sourcemod benutze, kommt bei "timeleft" "thetime" etc. die Serverausgabe 2 mal im Chat...



Dann deaktiviere für ein Server Plugin die timeleft,ff etc. ausgabe! Dann könntest du ES und SM benutzen ;)





Tockra

Anfänger

  • »Tockra« ist der Autor dieses Themas

Beiträge: 44

Rootserver vorhanden: Nein

  • Nachricht senden

7

Samstag, 14. Januar 2012, 20:34

Na und wie mache ich das ?

8

Samstag, 14. Januar 2012, 22:05

Na und wie mache ich das ?


Hier kommt wieder das Wort "Eigeninitiative" ins Spiel... Du kannst nicht erwarten, dass man dir hier alles vorkaut und detailiert beschrieben serviert.

Tockra

Anfänger

  • »Tockra« ist der Autor dieses Themas

Beiträge: 44

Rootserver vorhanden: Nein

  • Nachricht senden

9

Samstag, 14. Januar 2012, 23:00

dass man dir hier alles vorkaut und detailiert beschrieben serviert.

Na genau das kann ich von einem Forum erwarten.
Anderenfalls wären Foren vollkommen sinnlos.

MadMakz

Super Moderator

Beiträge: 1 878

Wohnort: ~#

Rootserver vorhanden: Ja

  • Nachricht senden

10

Sonntag, 15. Januar 2012, 00:35

wobei ich jetzt aber sagen muss das man schon differenzieren sollte zwischen nutzen fertiger plugins oder arbeiten auf dev level.

Spoiler Spoiler

ansatz für ausblendung des SM doppelgängers (da ich ES nie wirklich benutzt habe):

da ich übergaupt keinen plan habe welche trigger die beiden plugins im zusammmenhang haben, hier nur mal ein qick workaround für "timeleft":

in SM's basetriggers.sp, finde

Quellcode

1
RegConsoleCmd("timeleft", Command_Timeleft);

ersetzte mit

Quellcode

1
RegConsoleCmd("timeleft_sm", Command_Timeleft);

finde

Quellcode

1
(strcmp(text[startidx], "timeleft", false)

ersetzte mit

Quellcode

1
(strcmp(text[startidx], "timeleft_sm", false)

neu kompilieren, hochladen, basetriggers.smx ersetzten.

andernfalls macht es evtl sinn das basetriggers plugin komplett zu entfernen (disabled ordner).

alternativ könnte man evtl. ein SM plugin schreiben welches zwischen diversen admin tools vermittelt, dublikate einfach unterdrückt, oder sonnst wie einen exklusiv hook setzt.


edit: mir fällt gerade ein, es wird bei verwendung von ES und SM immer zwei mal das SM event getriggert (sieht man daran das vor der nachricht [SM] steht), die ES ausgabe erscheint garnicht, richtig? dan vergiss das von oben. kein plan.

schmeiss halt mal das ganze standart admin gedöns von ES runter, man braucht ES ja onehin nur als wrapper für die ES plugins.

da ES aber keinerleir dokumentations beschreibung der basis plugins/scripts besitzt kann ich da auch nix weiter zu sagen.

edit2: blah, logic skillz ftw:

/cfg/_defaults/xa.cfg

Quellcode

1
2
3
4
5
6
7
...
// Load the "Timeleft" module
   xa load xatimeleft

// Load the "The Time" module
   xa load xathetime
...


weg damit oder sonnst wo setzten und load durch unload ersetzten. somit gebe ich SinteX recht. cfg's sollte man sich schon mal selber angesehen haben.

Dieser Beitrag wurde bereits 14 mal editiert, zuletzt von »MadMakz« (15. Januar 2012, 01:06)


11

Sonntag, 15. Januar 2012, 08:18

ich habe das gleich problem ich habe verweigern und ergeben für eventscript und den rest für sourcemod könnt ihr mit weiter helfen?

Tockra

Anfänger

  • »Tockra« ist der Autor dieses Themas

Beiträge: 44

Rootserver vorhanden: Nein

  • Nachricht senden

12

Sonntag, 15. Januar 2012, 14:51

chmeiss halt mal das ganze standart admin gedöns von ES runter

Ich habe mal alles aus dem Eventscript Ordner geschmissen, außer ein Regelscript.
Die Folge war, dass das Script nicht mehr funktioniert hat und das SM Event immer noch 2 mal getriggert wurde!

MOVEMENTBITCH

unregistriert

13

Sonntag, 15. Januar 2012, 15:03

Mach es doch ganz einfach so wie "MadMakz" es gesagt hat.

Geh dazu einfach unter /cfg/_defaults/xa.cfg
und ersetzte das "load" durch ein "unload"

Spoiler Spoiler


...
// Load the "Timeleft" module
xa load xatimeleft

// Load the "The Time" module
xa load xathetime
...

Tockra

Anfänger

  • »Tockra« ist der Autor dieses Themas

Beiträge: 44

Rootserver vorhanden: Nein

  • Nachricht senden

14

Mittwoch, 18. Januar 2012, 13:09

So sieht nun die cfg aus:

Spoiler Spoiler


// ******************************
// XA Core Configuration
// ******************************

// Say prefix
//
// The prefix that is used in front of chat commands (default = !)
xa_sayprefix "!"

// Logging level
// 0 = Disables XA logging (default)
// 1 = Activates the module logging
//
// This will make XA log to <gamedir>/logs/ and <gamedir>/addons/eventscripts/xa/logs/
xa_log 0

// Mani mode
// 0 = Default XA-only configuration (default)
// 1 = Activates XA-Mani compatibility mode
//
// Some module are able to provide Mani's variables and commands,
// or are able to use some of Mani's configuration files.
// This is EXPERIMENTAL, but can help you to migrate from Mani to XA.
xa_manimode 0

// Debug logging
// 0 = Disables the module/library debugging (default)
// 1 = Basic debugging output
// 2 = Extended debugging output with profilers
xa_debug 0

// Debug profiling
// 0 = Disables the module/library profiling (default)
// 1 = Extended module/library profiling, see "xa stats" command
xa_debugprofile 0

// Settings expiry days
// This is the amount of days before a player's settings are removed from the
// database. It will be used to clear up all old players so that we don't archive
// player's. This improves efficiency and space.
xa_setting_expiry_days 14

// ******************************
// Module Section
// ******************************

// Load the "Settings" module
xa ununload xasettings

// Load the "Auth Manage" module to manage permissions
xa ununload xaauthmanage

// Load the "Player Management" module
xa ununload xaplayers

// Load the "Player Punishments" module
xa ununload xapunishments

// Load the "Timeleft" module
xa ununload xatimeleft

// Load the "The Time" module
xa ununload xathetime

// Load the "Admin Say" module
xa ununload xasay

// Load the "IP Ghosting" module
xa ununload xaipghosting

// Load the "Bot Management" module
xa unload xabotmanagement

// Load the "Flood Control" module
xa unload xafloodcontrol

// Load the "High Ping Kicker" module
xa unload xahighpingkick

// Load the "Most Destructive" module
xa unload xamostdestructive

// Load the "Reserve Slot" module
xa unload xareserveslots

// Load the "Redirect Users" module
xa unload xaredirect

// Load the "Map Management" module
xa unload xamapmanagement

// Load the "Grenade Spam Prevention" module
xa unload xanadespam

// Load the "Map Prefix cfg" module
xa unload xaprefixexec

// Load the "Admin rcon" module
xa unload xarcon

// Load the "Sounds" module
xa unload xasounds

// Load the "Quake Sounds" module
xa unload xaquakesounds

// Load the "Advert" module
xa unload xaadvert

// Load the "Rates" module
xa unload xarates

// Load the "Vote" module
xa unload xavote

// Load the "Rock the Vote" module
xa unload xarockthevote

// Load the "Extended Punishments" module
xa unload xaextendedpunishments

// Load the "Extended Admin Say" module
xa unload xaextendedsay

// Load the "Spawn and Team protection" module
xa unload xaprotect

// Load the "Stats" module
xa unload xastats

// Load the "Victim Stats" module
xa unload xavictimstats

// Load the "Restrict Weapons" module
xa unload xarestrict

// Load the "Admin Give" module
xa unload xaadmingive

// Load the "Teleport" module
xa unload xateleport

// Load the CFG file unloader
xa unload xacfgunloader

// Load "Votekick/Voteban" Module
xa unload xavotekickban

// Load the credits Module
xa unload xacredits

// ******************************
// Disabled Module Section
//
// Possible reasons:
// - They need to be configured before usage
// - They change the gameplay in a significant way
// - They are adding stuff that should be used with care
// ******************************

// Load the "Skins" module to allow players to use skins
// xa unload xaskins

// Load the "Observe Management" module to allow admins to specate opponents
// xa unload xaobserve

// Load the "Objectives" module
// xa unload xaobjectives

// XA Update checker
// Please leave disabled till a future version!
// xa unload xaupdate

// ******************************
// Depending Module Section
//
// Possible reasons:
// - It's better to unload those modules at the end
// ******************************

// Load the "Module Management" module
xa unload xamodules

// Load the "Administrator In-game Config" module
xa unload xaconfig

// Load the "Language Management" module
xa unload xalanguage



Und es kommt immernoch bei timeleft:

[SM] Time remaining for map: 29:00
[SM] Time remaining for map: 29:00
[

Ähnliche Themen