(1st Problem)
Everything was working fine, the items i added weren't causing trouble, until i encountered this error while compiling the module:
Exporting troops data
Traceback <most recent call last>:
File"process_troops.py", line 107, in <module>
save_troops<>
File "process_troops.py", line 38, in save_troops
for inventory_item in inventory_list:
TypeError: 'long' object is not iterable
Exporting particle data...
I haven't changed anything in the process_troops.py file, i haven't even opened the file before this occurred.
I tried remaking the whole module, redownloaded the module system, and rewrote everything i have done before that, but the same error occurred again. Can someone help me out with this?
(2nd Problem)
I coded some items ingame, and when i start a server(The one you host ingame, not a dedicated one) i get kicked for cheating. Is there a way i can disable that? It doesn't occur when i play commanders battle, everything there is fine, but in CB i only changed the troops equipment, not he officers equipment. I tried reinstalling the module system(along with the first problem) and this is still occurring. I guess I'm doing something really stupid here, but yeah I'm a newbie
. Is there any specific way you install the module system, or i just change the path in module_info.py?