Search found 287 matches

by cssbestrpg
Thu Apr 13, 2023 6:26 pm
Forum: Plugin Requests
Topic: stirni_chat_bot evescriscrip
Replies: 24
Views: 21064

Re: stirni_chat_bot evescriscrip

I didn't fully managed make it bug free. Lastest version, but i don't remember what remaining issues i have on that code. Since i did manage to get it respond messages when typed in chat.
by cssbestrpg
Tue Mar 21, 2023 6:46 pm
Forum: Plugin Development Support
Topic: [Cs:s] SpawnPoints
Replies: 7
Views: 10986

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&...
by cssbestrpg
Tue Mar 21, 2023 11:37 am
Forum: Plugin Development Support
Topic: [Cs:s] SpawnPoints
Replies: 7
Views: 10986

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\...
by cssbestrpg
Mon Mar 20, 2023 4:52 pm
Forum: Plugin Development Support
Topic: [Cs:s] SpawnPoints
Replies: 7
Views: 10986

[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...
by cssbestrpg
Wed Mar 15, 2023 8:21 pm
Forum: Plugin Development Support
Topic: [Cs:s] Players Chat
Replies: 3
Views: 7168

Re: [Cs:s] Players Chat

The core.Tokenize class did the trick.

Is there anything else that can improve of the SayFilter code?
by cssbestrpg
Tue Mar 14, 2023 3:29 pm
Forum: Plugin Development Support
Topic: [Cs:s] Players Chat
Replies: 3
Views: 7168

[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...
by cssbestrpg
Thu Feb 02, 2023 7:38 pm
Forum: Plugin Requests
Topic: stirni_chat_bot evescriscrip
Replies: 24
Views: 21064

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
by cssbestrpg
Thu Feb 02, 2023 7:24 pm
Forum: Plugin Requests
Topic: stirni_chat_bot evescriscrip
Replies: 24
Views: 21064

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.
by cssbestrpg
Wed Feb 01, 2023 7:44 pm
Forum: Plugin Requests
Topic: stirni_chat_bot evescriscrip
Replies: 24
Views: 21064

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...
by cssbestrpg
Mon Jan 30, 2023 8:11 pm
Forum: Plugin Requests
Topic: stirni_chat_bot evescriscrip
Replies: 24
Views: 21064

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?
by cssbestrpg
Sun Jan 29, 2023 8:56 pm
Forum: Plugin Requests
Topic: stirni_chat_bot evescriscrip
Replies: 24
Views: 21064

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
by cssbestrpg
Sun Jan 29, 2023 1:45 pm
Forum: Plugin Requests
Topic: stirni_chat_bot evescriscrip
Replies: 24
Views: 21064

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...
by cssbestrpg
Sun Jan 29, 2023 10:49 am
Forum: Plugin Requests
Topic: stirni_chat_bot evescriscrip
Replies: 24
Views: 21064

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...
by cssbestrpg
Sat Jan 28, 2023 9:06 pm
Forum: Plugin Requests
Topic: stirni_chat_bot evescriscrip
Replies: 24
Views: 21064

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...
by cssbestrpg
Sat Jan 28, 2023 11:15 am
Forum: Plugin Requests
Topic: stirni_chat_bot evescriscrip
Replies: 24
Views: 21064

Re: stirni_chat_bot evescriscrip

I can code it Source.Python, i try make it by today
by cssbestrpg
Fri Jan 20, 2023 10:58 pm
Forum: Plugin Requests
Topic: hl2:dm weapon shovel
Replies: 13
Views: 11970

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.
by cssbestrpg
Fri Jan 20, 2023 7:38 pm
Forum: Plugin Requests
Topic: hl2:dm weapon shovel
Replies: 13
Views: 11970

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.
by cssbestrpg
Fri Jan 20, 2023 9:41 am
Forum: Plugin Requests
Topic: hl2:dm weapon shovel
Replies: 13
Views: 11970

Re: hl2:dm weapon shovel

Does the crowbar kill one hit or how much damage it makes?
by cssbestrpg
Thu Jan 12, 2023 3:29 pm
Forum: General Discussion
Topic: bug last source-pytho sp-emulator
Replies: 5
Views: 10229

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...
by cssbestrpg
Thu Jan 12, 2023 9:09 am
Forum: General Discussion
Topic: bug last source-pytho sp-emulator
Replies: 5
Views: 10229

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

Go to advanced search