Author Topic: FOnline SDK - Question  (Read 146189 times)

FOnline SDK - Question
« on: September 01, 2010, 11:27:28 pm »
I want to ask, how to make my char admin? Also someone tried it out?

I saw in FOnlineServer.cfg lines:

Code: [Select]
# Keys for accesses
# Aviable four access mode: client (default on login), tester, moder, admin
Access_client=000000 00000000
Access_tester=
Access_moder=
Access_admin=

I don't know how to set it, it says "Keys" so i thought it will be something with keyboard but i saw numbers in client, so can someone help me?

Offline Cpt.Rookie

  • The final act is mine
    • riget.info
Re: FOnline SDK - Question
« Reply #1 on: September 01, 2010, 11:38:34 pm »
What worked for me:

- in FOnlineServer.cfg set
Code: [Select]
Access_admin=blablarestart server.

Log in and in console write
Quote
~getaccess admin blabla

"Access changed" msg should appear and after entering command
Quote
~myinfo
you should have access level "administrator".

Server-Boy - FOnline servers statistics
pcntl_wait($status); //protect against zombie children
postCount++;

Re: FOnline SDK - Question
« Reply #2 on: September 01, 2010, 11:51:17 pm »
Thank you.

Re: FOnline SDK - Question
« Reply #3 on: September 02, 2010, 09:12:49 am »
Does anyone know what is the command to change the SPECIAL stats and skills?

Offline Saumax

  • The one who challenges the sun
    • NRA Forum
Re: FOnline SDK - Question
« Reply #4 on: September 02, 2010, 10:36:42 am »
you must change variables in order to do it, check scripts to know what vars
Mr. T używa kastetów ponieważ siła uderzenia przeciwnika gołą pięścią jest zbyt duża.

Offline Ghosthack

  • Rotator
  • Bytecruncher
Re: FOnline SDK - Question
« Reply #5 on: September 02, 2010, 11:14:24 am »
~param 0 [0-6] [value] for special stats.

For skills, it's different than for 2238 most likely, so try, or find some documentation.

Re: FOnline SDK - Question
« Reply #6 on: September 02, 2010, 03:29:49 pm »
~param 0 [0-6] [value] for special stats.

For skills, it's different than for 2238 most likely, so try, or find some documentation.

Thanks for answer.
I find command to change skills.
~param 0 200 %

0      SK_SMALL_GUNS
1      SK_BIG_GUNS
2      SK_ENERGY_WEAPONS
...

~param 0 201 300 - you get 300% of big guns.

~param 0 72 xxx - heal HP.
« Last Edit: September 02, 2010, 03:41:09 pm by cerberix »

Re: FOnline SDK - Question
« Reply #7 on: September 02, 2010, 04:16:30 pm »
Thanks for answer.
I find command to change skills.
~param 0 200 %

0      SK_SMALL_GUNS
1      SK_BIG_GUNS
2      SK_ENERGY_WEAPONS
...

~param 0 201 300 - you get 300% of big guns.

~param 0 72 xxx - heal HP.

Where you found these IDs on health, skills and etc ?
Avatar: Equality of rights for ghouls!

Offline Ghosthack

  • Rotator
  • Bytecruncher
Re: FOnline SDK - Question
« Reply #8 on: September 02, 2010, 04:42:43 pm »
Where you found these IDs on health, skills and etc ?

_defines.fos

Re: FOnline SDK - Question
« Reply #9 on: September 02, 2010, 05:50:59 pm »
Also I have another question . . . how to spawn items? I need to find all commands but don't know where :C.

Offline Saumax

  • The one who challenges the sun
    • NRA Forum
Re: FOnline SDK - Question
« Reply #10 on: September 02, 2010, 06:09:14 pm »
there is such fine help file, its in russian but commands are normaly written, if i remember correctly page about command is 4 of first tab
Mr. T używa kastetów ponieważ siła uderzenia przeciwnika gołą pięścią jest zbyt duża.

Re: FOnline SDK - Question
« Reply #11 on: September 02, 2010, 06:54:53 pm »
Also I have another question . . . how to spawn items? I need to find all commands but don't know where :C.

~additemself x y

x = ID item (APA MK2 is 349)
y = number of item

~additemself 349 2

This command give you 2 APAs MK2 in your inventory.

Offline Ghosthack

  • Rotator
  • Bytecruncher
Re: FOnline SDK - Question
« Reply #12 on: September 02, 2010, 07:33:38 pm »
and list of item PIDs can be found in _itempid.fos
« Last Edit: September 03, 2010, 04:13:13 pm by Ghosthack »

Re: FOnline SDK - Question
« Reply #13 on: September 03, 2010, 03:59:16 pm »
and list of item PIDs can be found in _itempid.h

Where is "_itempid.h"? I can't find this.

I have a question. What is the command to select perk? Is there a sniper perk and better criticals?
How to teleport to different locations?

Offline Ghosthack

  • Rotator
  • Bytecruncher
Re: FOnline SDK - Question
« Reply #14 on: September 03, 2010, 04:13:56 pm »
_itempid.fos
Too used to C/C++ header files :)