Error in builtin/chatcommands.lua

Post Reply
User avatar
BrandonReese
Member
Posts: 839
Joined: Wed Sep 12, 2012 00:44
GitHub: bremaweb
IRC: BrandonReese
In-game: BrandonReese
Location: USA

Error in builtin/chatcommands.lua

by BrandonReese » Post

Using /unban

Code: Select all

09:06:32: ERROR[main]: ERROR: An unhandled exception occurred: ServerError: LuaError: error: /home/brandon/minetest/bin/../builtin/chatcommands.lua:647: attempt to call field 'unban_player_or_ip' (a nil value)
09:06:32: ERROR[main]: stack traceback:

In thread b74d5700:
/home/brandon/minetest/src/main.cpp:2179: int main(int, char**): Assertion '0' failed.
Debug stacks:
DEBUG STACK FOR THREAD b74d5700:
#0  int main(int, char**)
(Leftover data: #1  Dedicated server branch)
(Leftover data: #2  virtual void ServerMap::save(ModifiedState))
(Leftover data: #3  virtual void ServerMap::saveBlock(MapBlock*))
(Leftover data: #4  void ItemStack::serialize(std::ostream&) const)

User avatar
kaeza
Moderator
Posts: 2162
Joined: Thu Oct 18, 2012 05:00
GitHub: kaeza
IRC: kaeza diemartin blaaaaargh
In-game: kaeza
Location: Montevideo, Uruguay
Contact:

by kaeza » Post

BrandonReese wrote:Using /unban

Code: Select all

09:06:32: ERROR[main]: ERROR: An unhandled exception occurred: ServerError: LuaError: error: /home/brandon/minetest/bin/../builtin/chatcommands.lua:647: attempt to call field 'unban_player_or_ip' (a nil value)
09:06:32: ERROR[main]: stack traceback:

In thread b74d5700:
/home/brandon/minetest/src/main.cpp:2179: int main(int, char**): Assertion '0' failed.
Debug stacks:
DEBUG STACK FOR THREAD b74d5700:
#0  int main(int, char**)
(Leftover data: #1  Dedicated server branch)
(Leftover data: #2  virtual void ServerMap::save(ModifiedState))
(Leftover data: #3  virtual void ServerMap::saveBlock(MapBlock*))
(Leftover data: #4  void ItemStack::serialize(std::ostream&) const)
Tried it just now; got the same error.
Your signature is not the place for a blog post. Please keep it as concise as possible. Thank you!

Check out my stuff! | Donations greatly appreciated! PayPal

kahrl
Member
Posts: 236
Joined: Fri Sep 02, 2011 07:51
Location: Rös̓̇chenhof

by kahrl » Post

This was a long standing typo that got "activated" by the scriptapi separation. Fixed in 4405310184.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests