Author Topic: Fonline 2238 SDK and 3d registration  (Read 7176 times)

Fonline 2238 SDK and 3d registration
« 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.
« Last Edit: November 05, 2014, 11:48:28 am by doon »

Re: Fonline 2238 SDK and 3d registration
« Reply #1 on: November 05, 2014, 12:13:12 pm »
Nobody can help me? :/

Re: Fonline 2238 SDK and 3d registration
« Reply #2 on: November 05, 2014, 04:34:35 pm »
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.

Re: Fonline 2238 SDK and 3d registration
« Reply #3 on: November 05, 2014, 05:03:45 pm »
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...

Re: Fonline 2238 SDK and 3d registration
« Reply #4 on: November 06, 2014, 01:36:18 am »
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?

Offline Wipe

  • Rotator
  • Random is god
Re: Fonline 2238 SDK and 3d registration
« Reply #5 on: November 06, 2014, 10:28:57 am »
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
Games are meant to be created, not played...

Re: Fonline 2238 SDK and 3d registration
« Reply #6 on: November 06, 2014, 11:23:29 am »
Thanks for your help now it work ! :)

Re: Fonline 2238 SDK and 3d registration
« Reply #7 on: November 06, 2014, 02:41:28 pm »
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?

Re: Fonline 2238 SDK and 3d registration
« Reply #8 on: November 07, 2014, 01:57:35 am »

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...

JovankaB

  • Guest
Re: Fonline 2238 SDK and 3d registration
« Reply #9 on: November 07, 2014, 05:29:39 am »
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.
« Last Edit: November 07, 2014, 05:31:20 am by JovankaB »

Re: Fonline 2238 SDK and 3d registration
« Reply #10 on: November 07, 2014, 08:42:44 am »
Thanks it work:)

Re: Fonline 2238 SDK and 3d registration
« Reply #11 on: November 08, 2014, 11:45:46 am »
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
« Last Edit: November 08, 2014, 11:51:49 am by doon »

Re: Fonline 2238 SDK and 3d registration
« Reply #12 on: November 08, 2014, 09:24:23 pm »
Interesting project, hope you make something! Is it Desert Europe because world map is from it as I see...

Re: Fonline 2238 SDK and 3d registration
« Reply #13 on: November 08, 2014, 10:03:07 pm »
Yep but i use it for test only, i'll make my own GM after beginings maps/loc will be ready :)

Re: Fonline 2238 SDK and 3d registration
« Reply #14 on: November 09, 2014, 10:53:50 am »
Ohh man I love that APA model nice that you use it :D Also do you use all karpov's models?