So why is etpro not open source? if it should be then I Want a anti cheat left right and center
Python and Enemy Territory !
[QUOTE=Ododo;482246]HI every one !
Iâm taking back the development of PyEt !
The plugin is now designed to be runnable with any ET mod
Iâm sorry for the poor documentation at the moment , however Pyet is very similar to lua scripting.
Try it ! :
--How to: [readme.md](https://github.com/Ododo/Pyet2/blob/master/README.md)
--Download link : [pyet2-0.0.1.tar.gz](http://sourceforge.net/projects/pywet/files/pyet2-0.0.1.tar.gz/download)
--addon example : [example.py](https://github.com/Ododo/Pyet2/blob/master/pymodule/addons/example.py)[/QUOTE]
Hi Ododo, sounds very good!
Can i use PyEt also with âEnemy Territory:Legacyâ?
mfg muessli
sorry, another Question: can I use PyET only in âETDEDâ-Environment, not in âClientâ-Environment?
Hi, sorry for the delay .
Yes, I think there is no problem in using PyET with ET:L
Pyet is not using the Client evironment.
Unfortunately i compiled Pyet using python2.7, maybe i will build a python3 version when iâll have time
PyEt r0.0.2
[ul]
[li] Fixed some path issues and some obscure symbol-related problems.
[/li][li] pymodule improvement and ajustments.
[/li][li]Easy way to parse UserInfo strings explained in the example 2
[/li][li] ET to IRC bot that you can find in the /addons directory
[/li][/ul]
Try it !
[ul]
[li]Download Link
[/li][/ul]
Happy New Year !
#pyet @quakenet ;
github.com/Ododo ;
Pyet rc0.0.3
release
You can now manage entities with pyet
Here is a quick example:
from pyet import World
from pyetw import Addon
class Example3(Addon):
"""
- How to use the pyetw.World class
and how to manage entities in Pyet -
A list of fields can be found in fields.py
ent = World.GetFreeEntity()
if ent:
World.InitEntity(ent)
ent.SetField("sess.muted", 1, 1) //client only field (int)
ent.SetField("classname", "SuperPlayer", 1) //string
ent.SetField("health" , 100 , 1) // int
ent.SetField("rotate", [42,42,42], 1) //vec3_t
"""
group="example"
name = "Example3"
def ClientThink(self, client):
ent = World(client)
ping = ent.GetField("ps.ping")
if ping > 100:
self.call.DropCLient(client, "Too high ping !", 60)
I also generated (partial) documentation : here
Get pyet 0.0.3 here
If you encounter bugs or massive segfaults, do not hesitate to post feedback
you are free to contribute
ty acQu <3
EDIt: does someone knows why i have a âlightbulbâ on my topic , i mean this is so nice but
why
Hi,
Pyet now works with Python 3 (Python 2 build still possible)
-program restructured and addon system simplified
-i386/x86_64 builds available
-entity fields added
Have fun !