Skip to content

Releases: utkinn/PyGmod

Alpha 0.12.2

02 Jun 18:23
Compare
Choose a tag to compare
Alpha 0.12.2 Pre-release
Pre-release
  • Fixed the broken unhandled exception icon

Alpha 0.12.1

01 Jun 08:30
Compare
Choose a tag to compare
Alpha 0.12.1 Pre-release
Pre-release
  • Fix a crash when using retry command on a multiplayer game.
  • Fix hook.Add() callbacks not being registered.

Alpha 0.12

22 May 10:31
Compare
Choose a tag to compare
Alpha 0.12 Pre-release
Pre-release

Python console right inside Garry's Mod

Now there is a Python console in Garry's Mod which you can access by running python concommand:
PyGmod REPL
All stuff from pygmod.gmodapi is imported automatically. You can control client Lua state with the console but not the server state yet.

Alpha 0.11

09 May 12:04
Compare
Choose a tag to compare
Alpha 0.11 Pre-release
Pre-release
  • Lua interaction code was rewritten.
    Python functions are now exposed to Lua as userdata. Less hacky, more efficient.
  • Now PyGmod uses logging module instead of print().
  • Several modules, functions and constants were renamed.
  • A basement for unit tests has been made. (Thanks to @texruska)

Renamed stuff

Modules

Old name New name
luastack _luastack
gmod.lua pygmod.lua
gmod.luanamespace pygmod.gmodapi
loader pygmod._loader
gmod.streams pygmod._streams

Functions

Old name New name
gmod.lua.exec pygmod.lua.exec_lua
gmod.lua.eval pygmod.lua.eval_lua
gmod.lua.table (was a function) pygmod.lua.Table (now a class)
gmod.lua.pairs pygmod.lua.Table.items

Removed

Classes

  • gmod.lua.LuaObjectWrapper

Functions

  • gmod.lua.luafunction - now Python functions can be converted to Lua right away

Alpha 0.10

14 Nov 06:50
Compare
Choose a tag to compare
Alpha 0.10 Pre-release
Pre-release

Improved Lua interaction tools: now you can write code that looks very similar to Lua.

Alpha 0.9

01 Nov 17:45
Compare
Choose a tag to compare
Alpha 0.9 Pre-release
Pre-release

First public release