thetredev / udm Goto Github PK
View Code? Open in Web Editor NEWUltimate Deathmatch for Source.Python
Home Page: https://forums.sourcepython.com/viewtopic.php?f=7&t=1643
Ultimate Deathmatch for Source.Python
Home Page: https://forums.sourcepython.com/viewtopic.php?f=7&t=1643
Due to the fact that I didn't know better, the current implementation of ammo refill & auto-silence weapons could potentially cause lags and poor responsiveness in a 'real world' public server.
Do not use the plugin until I figure out a way to improve the plugin's performance!
If you have no weapons selected and use the buy menu to buy only a primary weapon, you will still respawn with your standard pistol. This does not affect the guns
command, though.
This bug only occurs in CS:GO.
Date : 2017-12-22 14:02:12.236519
OS : Windows-7-6.1.7601-SP1
Game : css
SP version : unversioned
Server plugins:
00: Source.Python, (C) 2012-2016, Source.Python Team.
SP plugins:
00: udm, 1.8.3, https://forums.sourcepython.com/viewtopic.php?f=7&t=1643
This is my first attempt at using SourcePython, so forgive any lapses in setup. I'm using the latest build #695, and fetched the files from your github rep instead of the release zip. Couple of problems :
I haven't figured out yet when this happens, but it seems that there are some cases that pass all your checks.
[SP] Caught an Exception:
Traceback (most recent call last):
File "..\addons\source-python\plugins\udm\udm.py", line 303, in on_pre_bump_weapon
if weapon.get_property_bool('m_bSilencerOn') != inventory_item.silencer_option:
File "..\addons\source-python\packages\source-python\entities\_base.py", line 377, in get_property_bool
return self._get_property(name, 'bool')
File "..\addons\source-python\packages\source-python\entities\_base.py", line 535, in _get_property
name, self.classname))
ValueError: Property "m_bSilencerOn" not found for entity type "weapon_ak47"
Dropped weapons are not removed on Windows due to an exception in on_post_drop_weapon
. There are two different exception, caused by the same reason.
[SP] Caught an Exception:
Traceback (most recent call last):
File "..\addons\source-python\plugins\udm\udm.py", line 312, in on_post_drop_weapon
player = make_object(PlayerEntity, stack_data[0])
ValueError: Pointer is NULL.
[SP] Caught an Exception:
Traceback (most recent call last):
File "..\addons\source-python\plugins\udm\udm.py", line 312, in on_post_drop_weapon
player = make_object(PlayerEntity, stack_data[0])
File "..\addons\source-python\packages\source-python\entities\_base.py", line 218, in _obj
return cls(index_from_pointer(ptr))
ValueError: Conversion from "Pointer" (<_memory.Pointer object at 0x1DD8C470>) to "Index" failed.
The reason and a workaround for this is described here:
https://forums.sourcepython.com/viewtopic.php?p=7542#p7542
Since you are delaying the removal code anyway, you might want to use a pre-hook.
Commit 1c75bb2 enables automatically attaching or detaching the silencer for weapons in CS:GO, depending on the player's choice. The change is somehow completely ignored for CS:S, although the code itself is executed just fine.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.