Search found 266 matches
- Tue Mar 21, 2023 6:46 pm
- Forum: Plugin Development Support
- Topic: [Cs:s] SpawnPoints
- Replies: 7
- Views: 220
Re: [Cs:s] SpawnPoints
What about ConfigFile instead? from core import ConfigFile from engines.server import global_vars from mathlib import Vector from path import Path for spawnpoint in ConfigFile( Path(__file__).parent / 'spawnpoints' / f'{global_vars.map_name}.txt' ): print(Vector&...
- Tue Mar 21, 2023 11:37 am
- Forum: Plugin Development Support
- Topic: [Cs:s] SpawnPoints
- Replies: 7
- Views: 220
Re: [Cs:s] SpawnPoints
I have updated the code, but i got an other issue. It keep giving me this error: [SP] Caught an Exception: Traceback (most recent call last): File "..\addons\source-python\packages\source-python\listeners\tick.py", line 79, in _tick self.pop(0).execute() File "..\addons\source-python\...
- Mon Mar 20, 2023 4:52 pm
- Forum: Plugin Development Support
- Topic: [Cs:s] SpawnPoints
- Replies: 7
- Views: 220
[Cs:s] SpawnPoints
hi, i have issue with my code, i have been trying make spawnpoints plugin that it get spawn point cordinates from ini file. Here is the code: import path from configobj import ConfigObj from mathlib import Vector from entities.entity import Entity from listeners import OnLevelInit from listeners.tic...
- Wed Mar 15, 2023 8:21 pm
- Forum: Plugin Development Support
- Topic: [Cs:s] Players Chat
- Replies: 3
- Views: 217
Re: [Cs:s] Players Chat
The core.Tokenize class did the trick.
Is there anything else that can improve of the SayFilter code?
Is there anything else that can improve of the SayFilter code?
- Tue Mar 14, 2023 3:29 pm
- Forum: Plugin Development Support
- Topic: [Cs:s] Players Chat
- Replies: 3
- Views: 217
[Cs:s] Players Chat
Hi, i have plugin that modifies players chat, but i noticed small issue with it. Sometimes when use non english letters like: ö ä å, sometimes the chat changes like: [New] playername: miss ä sä sit oot töissä but it suppose to show: [New] playername: missä sä sit oot töissä, only appers happens when...
- Thu Feb 02, 2023 7:38 pm
- Forum: Plugin Requests
- Topic: stirni_chat_bot evescriscrip
- Replies: 22
- Views: 2797
Re: stirni_chat_bot evescriscrip
The platform shouldn't make any difference, i am currently testing the plugin in windows server, so far only 1 bot joined with 4 bots
Edit:
13 minutes tested and still extra bots didn't join
Edit:
13 minutes tested and still extra bots didn't join
- Thu Feb 02, 2023 7:24 pm
- Forum: Plugin Requests
- Topic: stirni_chat_bot evescriscrip
- Replies: 22
- Views: 2797
Re: stirni_chat_bot evescriscrip
cut-magic wrote:I just saw that the bot connect several times now I have more than 15 bot in spectator
Just tested in css, it works fine for me, only one bot joined.
Here is fixed version of the code.
- Wed Feb 01, 2023 7:44 pm
- Forum: Plugin Requests
- Topic: stirni_chat_bot evescriscrip
- Replies: 22
- Views: 2797
Re: stirni_chat_bot evescriscrip
I can update the code that bot respond without having calling his name. Here updated code for it: import random, pickle, os, path from configobj import ConfigObj from events import Event from players.entity import Player from commands.say import SayCommand, SayFilter from commands.client import Clie...
- Mon Jan 30, 2023 8:11 pm
- Forum: Plugin Requests
- Topic: stirni_chat_bot evescriscrip
- Replies: 22
- Views: 2797
Re: stirni_chat_bot evescriscrip
cut-magic wrote:I hadn't told you yet but I think the work you've done to bring this plugin back to life is great and I thank you
Your welcome. You managed got it work like expected?
- Sun Jan 29, 2023 8:56 pm
- Forum: Plugin Requests
- Topic: stirni_chat_bot evescriscrip
- Replies: 22
- Views: 2797
Re: stirni_chat_bot evescriscrip
Which version of plugin? Eventscripts emulator or Source.Python?
I tested in Source.Python version if typed carl hello, i got respond Console Carl hello username
I tested in Source.Python version if typed carl hello, i got respond Console Carl hello username
- Sun Jan 29, 2023 1:45 pm
- Forum: Plugin Requests
- Topic: stirni_chat_bot evescriscrip
- Replies: 22
- Views: 2797
Re: stirni_chat_bot evescriscrip
I just tested es_emulator version it works fine with steamid3. i haven't yet updated Source.Python plugin version, since i tried to use it gave error when reloaded the plugin when database use. Edit: Here is updated version for Source.Python: import random, pickle, os, path from configobj import Con...
- Sun Jan 29, 2023 10:49 am
- Forum: Plugin Requests
- Topic: stirni_chat_bot evescriscrip
- Replies: 22
- Views: 2797
Re: stirni_chat_bot evescriscrip
I did the tests for you on counter strike source but I have the impression that your code speaks of PIKLE but I thought it had been deleted then pyton source and also the evenscript emulator 2023-01-29 10:57:56 - sp.core.command - MESSAGE [SP] Chargement du plugin 'stirni_chat_bot'... 2023-01-29 10...
- Sat Jan 28, 2023 9:06 pm
- Forum: Plugin Requests
- Topic: stirni_chat_bot evescriscrip
- Replies: 22
- Views: 2797
Re: stirni_chat_bot evescriscrip
Here it is made to Source.Python, but i didn't test it at all import random, pickle, os, path from configobj import ConfigObj from events import Event from players.entity import Player from commands.say import SayCommand, SayFilter from commands.client import ClientCommand from menus import PagedMen...
- Sat Jan 28, 2023 11:15 am
- Forum: Plugin Requests
- Topic: stirni_chat_bot evescriscrip
- Replies: 22
- Views: 2797
Re: stirni_chat_bot evescriscrip
I can code it Source.Python, i try make it by today
- Fri Jan 20, 2023 10:58 pm
- Forum: Plugin Requests
- Topic: hl2:dm weapon shovel
- Replies: 13
- Views: 882
Re: hl2:dm weapon shovel
That error means you need at server compile it with the txt file, i don't know which location it needs to be.
I have started coding it to Source.Python, but its not yet ready.
I have started coding it to Source.Python, but its not yet ready.
- Fri Jan 20, 2023 7:38 pm
- Forum: Plugin Requests
- Topic: hl2:dm weapon shovel
- Replies: 13
- Views: 882
Re: hl2:dm weapon shovel
You want it work also on players?
Edit:
I edited sourcemod code that it should work on players, but i can't compile since i don't use sourcemod.
Here is download for modifed sp.
Edit:
I edited sourcemod code that it should work on players, but i can't compile since i don't use sourcemod.
Here is download for modifed sp.
- Fri Jan 20, 2023 9:41 am
- Forum: Plugin Requests
- Topic: hl2:dm weapon shovel
- Replies: 13
- Views: 882
Re: hl2:dm weapon shovel
Does the crowbar kill one hit or how much damage it makes?
- Thu Jan 12, 2023 3:29 pm
- Forum: General Discussion
- Topic: bug last source-pytho sp-emulator
- Replies: 5
- Views: 572
Re: bug last source-pytho sp-emulator
It basically says its invalid name for the plugin, when i try myself load es_emulator to css server it works fine sp plugin load es_emulator [SP] Loading plugin 'es_emulator'... Adding "d:\servers\css zr server\cstrike\addons\source-python\plugins\es_emulator\eventscripts" to sys.path. Add...
- Thu Jan 12, 2023 9:09 am
- Forum: General Discussion
- Topic: bug last source-pytho sp-emulator
- Replies: 5
- Views: 572
Re: bug last source-pytho sp-emulator
Are you sure you have in server & autoexec.cfg sp plugin load es_emulator
It says its not fully correctly loaded, it seems to have extra space after es_emulator
It says its not fully correctly loaded, it seems to have extra space after es_emulator
- Tue Nov 29, 2022 12:59 pm
- Forum: Plugin Development Support
- Topic: CSS: Moderator, connect/disconnect show
- Replies: 5
- Views: 1766
Re: CSS: Moderator, connect/disconnect show
Good afternoon! I wrote a plugin but it doesn't work, what's my mistake? I'm just learning, please don't swear Your code is incorrect of the part where you have moderator, the code suppose to like something like this: from events import Event from messages import SayText2 moderator = '[U:1:8193...