Error in builtin/chatcommands.lua

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

Error in builtin/chatcommands.lua

by BrandonReese » Sun Jun 16, 2013 05:16

Using /unban
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
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
Member
 
Posts: 2141
Joined: Thu Oct 18, 2012 05:00
GitHub: kaeza
IRC: kaeza diemartin blaaaaargh
In-game: kaeza

by kaeza » Sun Jun 16, 2013 09:18

BrandonReese wrote:Using /unban
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
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 | BTC: 1DFZAa5VtNG7Levux4oP6BuUzr1e83pJK2
 

kahrl
Member
 
Posts: 236
Joined: Fri Sep 02, 2011 07:51

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 Minetest Problems

Who is online

Users browsing this forum: No registered users and 7 guests

cron