Error in builtin/chatcommands.lua

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

Error in builtin/chatcommands.lua

by BrandonReese » Sun Jun 16, 2013 05:16

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
Location: Montevideo, Uruguay
GitHub: kaeza
IRC: kaeza diemartin blaaaaargh
In-game: kaeza

by kaeza » Sun Jun 16, 2013 09:18

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 » Sun Jun 16, 2013 12:09

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


Return to Problems



Who is online

Users browsing this forum: Exabot [Bot] and 1 guest