fodev.net

FOnline Development => Questions and Answers => Topic started by: Aralvar on May 21, 2014, 11:50:15 am

Title: How to spawn items in the original FOnline SDK?
Post by: Aralvar on May 21, 2014, 11:50:15 am
I see there is a tutorial for spawning items by admin command for the 2238 SDK, but not one for the original SDK (the Russian and English one). I'm using this one because the 3D tutorials don't seem to work for the 2238 one, unfortunately. Anyways, how would I set up admin access and use the items spawning command in the original SDK? Any help would be appreciated!
Title: Re: How to spawn items in the original FOnline SDK?
Post by: Wipe on May 21, 2014, 03:09:50 pm
Set password for admin (FOnlineServer.cfg -> Access_admin)
Login and use ~getaccess admin [your password] command
Find prototype id (protoid) of your item; can be found in few places, Server/scripts/_itempid.fos, checking item in ObjectEditor, one of Server/proto/items/*.fopro files)
Use ~additemself [item protoid] [amount] command
Enjoy

If you're familiar with russian, there's Docs/FOnlineRu.chm where (probably!) you'll find more detailed instructions
If you're not familiar with russian, run Docs/Source/BuildEn*.cmd what should generate docs in english language.
Docs aren't updated frequently, and english one are always more outdated than russian, but such basics should be covered there i think.
Title: Re: How to spawn items in the original FOnline SDK?
Post by: Aralvar on May 21, 2014, 08:17:03 pm
Thanks so much! :D