Page 1 of 2
There are modding differences between the 32bit and 64bit MT

Posted:
Sat Jul 30, 2016 11:01
by azekill_DIABLO
I have a serious bug. I am on Windows 10|64bit version and i have a 32bits minetest 4.14 (which works...how strange) and a 64bits minetest 4.14 (which also works. lol).
I have my subgame, voxellar and when i use it on the 32bits version, it works perfectly! But when i try the 64bits version, i suddenly crashes when i punch a mob, saying "tools_capabilities is nil" in mobs/api.lua.
The weirdest thing is that i was the same subgame that i used on the two minetests. I never heard of modding differences between the 64bits and the 32bits. Please help me that is very disturbing. I don't have any idea to fix that bug.
Re: There are modding differences between the 32bit and 64bi

Posted:
Sat Jul 30, 2016 11:42
by rubenwardy
There are no differences, you're doing something wrong
Re: There are modding differences between the 32bit and 64bi

Posted:
Sat Jul 30, 2016 12:18
by azekill_DIABLO
what? those are the same game and they only works on 32bits... i've done no modification to the engine or anything.
Re: There are modding differences between the 32bit and 64bi

Posted:
Sat Jul 30, 2016 12:26
by rubenwardy
Please may you post your full source code?
Re: There are modding differences between the 32bit and 64bi

Posted:
Sat Jul 30, 2016 13:30
by azekill_DIABLO
source code? didn't compiled anything.
Re: There are modding differences between the 32bit and 64bi

Posted:
Sat Jul 30, 2016 13:32
by rubenwardy
The lua code. There isn't a correct, working download link in your subgame's forum topic
Re: There are modding differences between the 32bit and 64bi

Posted:
Sat Jul 30, 2016 15:19
by maikerumine
I ran into lots of mapgen oom errors with 64 bit a while back. So my server was set to 32 bit.
Re: There are modding differences between the 32bit and 64bi

Posted:
Sun Jul 31, 2016 08:17
by azekill_DIABLO
rubenwardy wrote:The lua code. There isn't a correct, working download link in your subgame's forum topic
What? it's supposed to work! why no one told me.
EDIT:Actually the link works.It send you to a dropbox page with download of the zip.
Re: There are modding differences between the 32bit and 64bi

Posted:
Sun Jul 31, 2016 08:19
by azekill_DIABLO
maikerumine wrote:I ran into lots of mapgen oom errors with 64 bit a while back. So my server was set to 32 bit.
I've also encountered Debug issue in 64bits.
Re: There are modding differences between the 32bit and 64bi

Posted:
Sun Jul 31, 2016 10:31
by rubenwardy
azekill_DIABLO wrote:EDIT:Actually the link works.It send you to a dropbox page with download of the zip.
Nope, it only works for you as you're logged in. You need to make a share URL
Re: There are modding differences between the 32bit and 64bi

Posted:
Sun Jul 31, 2016 10:49
by azekill_DIABLO
i've done this already.
Re: There are modding differences between the 32bit and 64bi

Posted:
Sun Jul 31, 2016 10:52
by rubenwardy
OK, you've now fixed it
Re: There are modding differences between the 32bit and 64bi

Posted:
Sun Jul 31, 2016 15:28
by azekill_DIABLO
Let's back to our topic: wtf is the difference between 32bits and 64bits?
(sry for the wtf)
Re: There are modding differences between the 32bit and 64bi

Posted:
Sun Jul 31, 2016 16:05
by rubenwardy
Pretty much nothing. 64bit programs can run faster on 64bit OS than 32bit programs. 64bit programs can also use more than 4gb of memory.
I'm pretty sure the error isn't due to word size (32/64)
Re: There are modding differences between the 32bit and 64bi

Posted:
Sun Jul 31, 2016 23:05
by twoelk
iirc it has rather to do with the way they are compiled and not the source code -
and maybe the wierd LuaJit OOM boundary - but
. only on tuesdays and if the wind is blowing from the northeast
. . . and a thrush was singing within the mic range of the compiler hosting hardware
. . . . . if it was placed on a rug and not on a wooden floor except
. . . . . . . if there was some ants that stored some potatoechips under the boards,
. . . . . . . . . then the critical day would be wednesday
. . . . . . . . . . . but not if it had snowed two days earlier ...
. . . . . . . . . . . . . - -yeeeeeeeeeeeeeehaw
Re: There are modding differences between the 32bit and 64bi

Posted:
Mon Aug 01, 2016 10:02
by azekill_DIABLO
OK so found why the same game work on the 32bits and not on the 64bits
Re: There are modding differences between the 32bit and 64bi

Posted:
Sat Aug 20, 2016 08:26
by wilkgr76
azekill_DIABLO wrote:OK so found why the same game work on the 32bits and not on the 64bits
Care to share?
Re: There are modding differences between the 32bit and 64bi

Posted:
Sat Aug 20, 2016 11:28
by azekill_DIABLO
the game? it's published, the voxellar mobs api work on 32 but not 64 :|
Re: There are modding differences between the 32bit and 64bi

Posted:
Sat Aug 20, 2016 12:13
by rubenwardy
Care to share "OK so found why the same game work on the 32bits and not on the 64bits"
So care to share why the game doesn't work on 64 bits
Re: There are modding differences between the 32bit and 64bi

Posted:
Sat Aug 20, 2016 17:57
by MineYoshi
Should be something in the build...
Now that i think try another diferent build of 64 bits, i guess that at least would solve the problem....
(Maybe)
Re: There are modding differences between the 32bit and 64bi

Posted:
Sun Aug 21, 2016 08:40
by azekill_DIABLO
rubenwardy wrote:Care to share "OK so found why the same game work on the 32bits and not on the 64bits"
So care to share why the game doesn't work on 64 bits
i think it omes for tool_capabilties which the 64 does not support. maybe there is also some depecrated lua handling
Re: There are modding differences between the 32bit and 64bi

Posted:
Mon Aug 22, 2016 22:25
by MineYoshi
azekill_DIABLO wrote:rubenwardy wrote:Care to share "OK so found why the same game work on the 32bits and not on the 64bits"
So care to share why the game doesn't work on 64 bits
i think it omes for tool_capabilties which the 64 does not support. maybe there is also some depecrated lua handling
And what's the solution to this issue?
Re: There are modding differences between the 32bit and 64bi

Posted:
Tue Aug 23, 2016 09:05
by azekill_DIABLO
i don't know. i seached trough the whole game without fiding it :D
Edit: in 5 seconds i found it. or i'm dumb or i'm blind but i know how to resolve this issue.
Re: There are modding differences between the 32bit and 64bi

Posted:
Tue Aug 23, 2016 16:46
by MineYoshi
Try another build!
Re: There are modding differences between the 32bit and 64bi

Posted:
Tue Aug 23, 2016 16:52
by azekill_DIABLO
Yes.
ps i like your avatar! but why do you keep hurting this poor guy?
Re: There are modding differences between the 32bit and 64bi

Posted:
Tue Aug 23, 2016 17:58
by MineYoshi
azekill_DIABLO wrote:Yes.
ps i like your avatar! but why do you keep hurting this poor guy?
I don't know it's 100% Random! Also is a reference to an old friend who really liked MetaKnight... I remembered him, so i don't is so bad to do a little reference!
Also, Try to see the differences with the build that is working and the one that isn't, try to identify what's wrong and see what commits or changes in the code of the Engine you need to run the subgame without any problems
Re: There are modding differences between the 32bit and 64bi

Posted:
Wed Aug 24, 2016 05:12
by taikedz
azekill_DIABLO wrote:i don't know. i seached trough the whole game without fiding it :D
Edit: in 5 seconds i found it. or i'm dumb or i'm blind but i know how to resolve this issue.
In french for clarity:
C'est rageant de lire un probleme et de ne pas voir la solution! Tu as trouvé quoi au juste?
Ne nous laisse pas plantés abasourdis! On pourrait apprendre nous aussi........!
Re: There are modding differences between the 32bit and 64bi

Posted:
Wed Aug 24, 2016 12:43
by azekill_DIABLO
ok ok. le bug c'est avec mobs redo. durant le premier test de la 1.3 (version non publiée), je ne pouvais plus frapper les mobs, ça fesait crasher le jeu avec une erreur à propos de la fonction : "tool_capabilities" qui était non définie. Un truc étrange c'est que le bug se produisait seulement en 64bit et pas sur 32bit. j'ai examiné l'api sans trouver de bug mais en fait je pense que ça venait d'un mod que j'ai suprimé depuis. Maintenant, ça marche sur la version 32bit officielle et sur 2 version non officielles 64bit (Blert and Sfan5 Builds). Il reste juste à tester sur version officielle pour voir si ça marche :D. désolé d'être énigmatique, j'en sais pas tellement + que vous.
Re: There are modding differences between the 32bit and 64bi

Posted:
Wed Aug 24, 2016 20:00
by MineYoshi
What are ya' saying?
Re: There are modding differences between the 32bit and 64bi

Posted:
Wed Aug 24, 2016 23:07
by taikedz
azekill_DIABLO wrote:ok ok. le bug c'est avec mobs redo. durant le premier test de la 1.3 (version non publiée), je ne pouvais plus frapper les mobs, ça fesait crasher le jeu avec une erreur à propos de la fonction : "tool_capabilities" qui était non définie. Un truc étrange c'est que le bug se produisait seulement en 64bit et pas sur 32bit. j'ai examiné l'api sans trouver de bug mais en fait je pense que ça venait d'un mod que j'ai suprimé depuis. Maintenant, ça marche sur la version 32bit officielle et sur 2 version non officielles 64bit (Blert and Sfan5 Builds). Il reste juste à tester sur version officielle pour voir si ça marche :D. désolé d'être énigmatique, j'en sais pas tellement + que vous.
OK so translation
azekill is using Mobs redo 1.3 unpublished (dev branch after 1.30 you mean??)
He's getting an error regarding tool capabilities, only with the official 64bit build
Now with sfan5 and Blert builds all is working, and he also suspects another mod to have been interfering which he has since removed
* switch *
Pourrias-tu stp poster
* la dernière vingtaine de lignes au moment du crash (inlcuant "singplayer punches LuaEntity" jusqu'au reboot),
* le résultat de la commande 'minetest --version'
* et où trouver la version du code de mobs_redo que tu utilises? (branche particulière sur github?)