fodev.net
FOnline Development => Questions and Answers => Topic started by: doon on November 03, 2014, 03:23:03 pm
-
Hello,
Rcently i have moved my project to 2238 Sdk but after uncoment line for 3d and launch game, i keep the same registration without 3d.
I have looked inti client.main but i can't find what is wrong...
Someone can help me?
Thanks ,Doon
Edit: On another subject i have see that 3 function need to be delete to make 3d registration working but after some hour of research i can't find them.
-
Nobody can help me? :/
-
Man I wish help you but I dont know. Maybe search somewhere in 3d board because I saw there few screens 3d models in 2238 locations.
-
Found that on 'making 3d character work'
First issue is that the character registration won't work. Enabling the #DEFINE PLAYERS_3D line will make every script that was previously ignoring it, start to use it. But there are 3 functions that are imported from the character registration script into client_main , that will cause a problem, and the script won't compile at all, making the game crash. If you are smart and find a way to fix it, that's very nice. I just cancelled those three functions inside the client_main script, and the problem was solved for me.
But I don't find these functions...
-
After set up of 3d i have lauched server with 0 error but when i lauch client it close just after.
Starting FOnline (version 464)...
Engine initialization...
Sprite manager initialization...
Sprite manager initialization complete.
Sound manager initialization...
Sound manager initialization complete.
Connecting to server<localhost:4000>.
Connection established.
Disconnect. Session traffic: send<74>, receive<862273>, whole<862347>, receive real<918345>.
Loaded<325> critter types.
Load scripts...
Bind reserved functions...
Script::Bind - Function<void items_collection(int,ItemCl@[]&)> in module<client_main> not found.
Bind reserved function fail, name<items_collection>.
Bind reserved functions fail.
FOnline engine initialization fail.
Someone know what is the problem?
-
items_collection() is one of reserved functions and it must be present in scripts - even if it does nothing and is empty. There's scripts/scripts.cfg which holds info for engine where to look for these functions - see lines with "client bind" there.
If i'd have to guess, you broke your build here:
I just cancelled those three functions inside the client_main script
This script have "main" in name for a reason :P
-
Thanks for your help now it work ! :)
-
On sdk (tla based) i cant scroll down /up/ right /left in game map , i test all resolution but always the same :/ this sdk have no script for mouse scroll?
-
Someone know where can i find this rev?(360) :
http://www.fonline.ru/files/FOnline_r360_2012-03.zip
Link is broken and i cant download old rev on repo...
-
You can use TortoiseSVN or any other SVN client to change your local repository to revision 360. As far as I remember the option was called "Update to revision". You can also google FOnline_r360_2012-03.zip, but there is no guarantee that it will be the original files without any alterations.
-
Thanks it work:)
-
Just a small post to say im looking for people with knowledge ( beginner too ) that are interresting to join my project (pm me on forum).
Link: http://www.indiedb.com/games/fonline-last-breath
Doon
-
Interesting project, hope you make something! Is it Desert Europe because world map is from it as I see...
-
Yep but i use it for test only, i'll make my own GM after beginings maps/loc will be ready :)
-
Ohh man I love that APA model nice that you use it :D Also do you use all karpov's models?
(http://media.indiedb.com/images/games/1/34/33511/armor.png)
-
Yep i use his models (armors, weapon, item, character), he helped me to set in sdk, thanks to him :)
Next step i have to create begins location/quest and turn all npc 3d.
In few hours or days a new post on indiedb showll next step:) Its currently awaiting authorisation of admin.
-
Good man, maybe we will get first 3d usage...
-
I'll do my best :)