Recent Posts

Pages: [1] 2 3 ... 10
1
Share Your Work / FOnline Interface Editor
« Last post by m208 on January 17, 2021, 08:04:25 pm »
Visual editor for interface ini file.
Sources: https://github.com/m208/fonline-interface-editor
Download link: https://github.com/m208/fonline-interface-editor/releases/download/v1.0/FOIEditor.rar

Unpack all files to the same folder.
Launch the application, open the * .ini file from the interface directory via the menu, and then navigate with the screen menu.
Move or resize controls by mouse, change pictures via open file dialog.
Or edit them by text fields on the fly.


Structure of in-game interface ini file.
Most interface screens are coded as follows:
-   Background image. Image file and screen size
-   Control areas. It can be an area for text/for drawing some in-game stuff/for buttons
In case of buttons, the control contains one or more picture (default/pressed/unavailable)
-   Custom fields which contains some value, for example, the height of inventory item or distance between AP marks

For example, inventory section
Code: [Select]
#Background---------------------------------------------------------------------
InvMainPic = INVBOX.PNG # Inventory window image
InvMain = 0 0 498 401 # Dimensions of the active area of ​​the inventory window (centered)

#Areas-----------------------------------------------------------------------
InvInv = 44 40 113 365 # Cell area coordinates
InvChosen = 174 34 235 132 # Player image coordinates
InvSlot1 = 155 310 245 370 # Coordinates of the first slot
InvSlot2 = 246 310 336 370 # Coordinates of the second slot
InvArmor = 153 208 247 272 # Armor slot coordinates
InvText = 300 48 445 253 # Text area coordinates

#Buttons---------------------------------------------------------------------
InvScrUpPic = INVUPOUT.FRM # Image of the scroll up button
InvScrUpPicDn = INVUPIN.FRM # Image of the pressed scroll up button
InvScrUpPicNa = INVUPDS.FRM # Image of inactive scroll up button
InvScrUp = 134 42 154 60 # Scroll button coordinates

InvScrDnPic = INVDNOUT.FRM # Image of the scroll down button
InvScrDnPicDn = INVDNIN.FRM # Image of the pressed scroll down button
InvScrDnPicNa = INVDNDS.FRM # Image of an inactive scroll down button
InvScrDn = 134 66 154 84 # Scroll button coordinates

InvOkPic = MENUUP.FRM # Image of the window close button
InvOkPicDn = MENUDOWN.FRM # Image of pressed window close button
InvOk = 433 349 452 367 # Coordinates of the window close button

#Custom field-----------------------------------------------------------------
InvHeightItem = 32 # Inventory cell height


Configuration schemes for different FOnline servers.
Default config file (default.cfg) contains scheme for FO2S3 server.
It describes the rules for which screens contain which elements in JSON format.

Example for inventory section
Code: [Select]
"Inventory":{
 "Main" : [ "InvMain", "InvMainPic"],
 "Controls": [ "InvSlot1", "InvSlot2","InvArmor","InvText", "InvChosen", "InvInv",
["InvOk", "InvOkPic", "InvOkPicDn"],
["InvScrUp", "InvScrUpPic", "InvScrUpPicDn", "InvScrUpPicNa"],
["InvScrDn", "InvScrDnPic", "InvScrDnPicDn", "InvScrDnPicNa"] ],
 "Custom": [ "InvHeightItem" ]
 },

Rules:
Code: [Select]
“Section name” : {
“Main”: array  [key background coords,  key background image],
“Controls”: array. Area – single element, button – array [key control coords, key image1, key image2],
“Custom”: array of elements }

Some screens do not contain a key for background coords (console, dashboard, and others). Use 0 in this case.
"Main" :  ["0", "ConsoleMainPic"]

You can edit default.cfg file, or create another file and switch between them in settings section.
Be careful when editing JSON, validation has not been implemented yet, syntax errors or missing keys may cause the application to crash.

Restrictions.
*.Frm textures do not supported.
Custom fields values do not affect app GUI visualization.

Resolution blocks.
If the ini file contains resolution blocks, the one with the highest resolution will be picked and its values will override the defaults.

Keys description.
The hintbook.ini file contains descriptions of interface elements that are displayed as tooltips.
They are google translated from Russian and may be irrelevant.
In any case, you can edit them and add new elements.


2
Questions and Answers / Re: Sharing fixed stuff
« Last post by Saraporn1990 on January 15, 2021, 05:18:45 am »
Found it again, I followed from your old post.
3
Questions and Answers / Re: LAN Server Low Ping & FPS Problems...
« Last post by Saraporn1990 on January 15, 2021, 05:16:17 am »
Can now fix the LAN system? I ran into a similar problem.
4
Share Your Work / Re: FOnline Status Discord Bot
« Last post by kompreSor on January 13, 2021, 09:55:03 am »
Changelog:
now showing Uptime
if server its offline changing discord status to idle
added FOnline RP
5
Community Feedback / Re: ONLINE SERVER BEEING USED FOR SELF PROFIT
« Last post by beng beng smesz on January 06, 2021, 06:16:17 pm »
akira take your meds
6
Community Feedback / Re: ONLINE SERVER BEEING USED FOR SELF PROFIT
« Last post by Lexx on January 06, 2021, 02:14:55 pm »
You can stop writing in all-caps.
7
General Discussion / Re: FOnline SDK (non repository, direct download link)
« Last post by PANCAKE2009RU on January 05, 2021, 11:19:34 am »
>:(IN MY OPINION THE 2238 ENGINE SHOULD BE FORBIDEN TO USE FOR THE BAD BEHAVIOR OF WESAN OF FONLINE2 THAT IS EARNING PROFIT ASKING DONATION FOR SKINS ,LETING PLAERS HAVE GM LIKE POWERS AND MORE STUFF FOR DONATION OR WHO KNOW WHAT.THIS IS A SHAME TO ANY GAME COMUNITY.
then make your own fonline you brazilian kike
8
Community Feedback / ONLINE SERVER BEEING USED FOR SELF PROFIT
« Last post by Akira BR on January 04, 2021, 10:01:08 pm »
 :( YES FO2 ONLINE OF WESAN AND SKYCAST AND FO3 ONLINE OF KOMPRESSOR AND VINET ARE NOTHING BUT PROFIT MKING TRAPS USING THE OLD 2238 ENGINE .ITS A SHAME TO ANY GAME WHAT HAPPEN IN FO2 .HOPE YOU CAN DO SOMETHING ABOUT AND CLOSE THESE SERVERS
9
General Discussion / Re: FOnline SDK (non repository, direct download link)
« Last post by Akira BR on January 04, 2021, 09:52:15 pm »
 >:(IN MY OPINION THE 2238 ENGINE SHOULD BE FORBIDEN TO USE FOR THE BAD BEHAVIOR OF WESAN OF FONLINE2 THAT IS EARNING PROFIT ASKING DONATION FOR SKINS ,LETING PLAERS HAVE GM LIKE POWERS AND MORE STUFF FOR DONATION OR WHO KNOW WHAT.THIS IS A SHAME TO ANY GAME COMUNITY.

10
Questions and Answers / Re: Needy: Original server files Reloaded S2
« Last post by remake on December 31, 2020, 11:53:08 am »
Have anybody here idea where I find original server files for FOnline: Reloaded Season 2?
http://files.fonline-aftertimes.net/other_sources/
Pages: [1] 2 3 ... 10