Raptor007 / aq2-tng

Action Quake 2: The Next Generation. Raptor007's sandbox for testing changes. When verified stable, this code is pushed to the official aq2-tng repo:
https://github.com/aq2-tng/aq2-tng/tree/bots
4 stars 2 forks source link

changed cprintf to bprintf for namechange #119

Closed m4son closed 2 years ago

m4son commented 2 years ago

q2adminLua can parse this information like any other

Raptor007 commented 2 years ago

Hmm, this is just undoing some changes in https://github.com/Raptor007/aq2-tng/commit/92c419178e95ee67cd1412c6e601a7a9694abf56 for issue #59, allowing name changes to bypass the ignore list again.

Raptor007 commented 2 years ago

Can q2adminLua parse dprintf server messages? Try uncommenting the gi.cprintf for clients, and change your gi.bprintf( PRINT_MEDIUM, ... ) to gi.dprintf( ... ). Hopefully that solves your Lua problem without reintroducing the ignore problem.

Raptor007 commented 2 years ago

Closing this for a couple reasons:

This change should be made in the master branch first, not bots. Hifi had some concerns about the bot code licensing, so I make sure the master branch is up to date with everything except bots, and then merge those changes into the bots branch.

I did this with dprintf instead, which should retain the ignore fix (issue #59) while also adding name change messages to the server console: https://github.com/Raptor007/aq2-tng/commit/216dd81472b9cbfcd75b5377705737930c3944fe