Ferrous Moon
http://www.ferrousmoon.com:80/forums/

Onlink 0.2.5 Beta - Last Update 2019-03-21
http://www.ferrousmoon.com:80/forums/viewtopic.php?f=55&t=2777
Page 24 of 36

Author:  hans henrik [Mon Mar 09, 2015 12:41 am ]
Post subject:  Re: Onlink 0.2.5 Beta - Last Update 2015-03-08

(edited);
in the new version, after just playing for a few seconds, onlink constantly crash, with logs like this http://pastebin.com/raw.php?i=bLfH84t2

maybe the db layout changed, or maybe the bouncer logic changed and the new logic doesn't expect there to be anything with bounce ID 0 at start.. hmm

Ok, created a new agent just to be sure, and first time i tried to SAVE a small connection bounce list with the WorldMap, it crashed with "encountered internal error" (no log generated)

Every time i try to save a bounce list with the WorldMap, even on a brand new agent, onlink crashes with "internal error". :roll:

Version 0.2.5-b6-95-ge65c115 (RELEASE)
Compiled on Mar 9 2015
Built with CrissCross v0.8.0.

Edit: here is another crash (also related to connection) i got a log of:
http://pastebin.com/raw.php?i=BsAkGY6G (PS: iirc, when i have looked at it , sup_ref has ALWAYS been "0(world)" , and i dont know what it means :p )
Anyway, this version seem to crash constantly, just doing normal ingame stuff :?:

Author:  Mc2m [Mon Mar 09, 2015 4:22 am ]
Post subject:  Re: Onlink 0.2.5 Beta - Last Update 2015-03-08

Hot fix is away

As always, you can find the new version using theses links:
Windows: http://ferrousmoon.com/OnlinkSetup-0.2.5.exe
Linux: http://ferrousmoon.com/onlink.tar.gz

So sorry about last version bugs. Hopefully this one fixes the bugs reported so far.

Changelog:
- properly delete x64 binaries from installation folder for Windows
- Fix the connection table for existing agent
- Fix broken query

Author:  hans henrik [Mon Mar 09, 2015 1:55 pm ]
Post subject:  Re: Onlink 0.2.5 Beta - Last Update 2015-03-08

the joy of new features: all the new bugs :lol:

using the new connection manager to create a bounce to Uplink Laboratories looks something like this http://prntscr.com/6equlf
which looks wrong.

Author:  hans henrik [Tue Mar 10, 2015 3:25 pm ]
Post subject:  Re: Onlink 0.2.5 Beta - Last Update 2015-03-08

when loading a bounce list on the worldmap, if you try to remove a specific node (by clicking on it), onlink will crash, generating a log like this http://pastebin.com/raw.php?i=Mg96Rq0H

meaning for instance, if you got a long bounce list, and your target is already on that list, you can't remove that target by click on it (crash), then re-add it.. you gotta create a whole new bouce to get back into the server

Edit: until a new release, this can be patched by opening onlink-x86.exe in a hex editor, going to offset 0x2B1B10 / 2824976 , and replacing the first byte (0x27 / ' ) with 0x20 (space) ^^

Attachments:
Onlink-x86_space.exe.zip [1.56MiB]
Downloaded 400 times

Author:  hans henrik [Tue Mar 10, 2015 4:25 pm ]
Post subject:  Re: Onlink 0.2.5 Beta - Last Update 2015-03-08

hmm, this save will consistently crash a few hours before 25 march, on fast forward.
first it enters a 100% cpu eating loop for a while (doing god knows what), then onlink crash. no log whatsoever is saved. (the log file is 0 bytes.)

Also interesting: the last 2014 release does not crash on this save. this must be some code introduced after this release: Version 0.2.5-b6-74-g765c37e (RELEASE)
Compiled on Aug 8 2014
Built with CrissCross v0.8.0.


Edit: It is probably related to upgrading Memory, i should get a 1x8 memory upgrade around that time. also as a workaround, i can open the save on the 2014 version and skip past that time, log out, and log in on the newest version

Attachments:
Takeoded_march25crash.zip [959.71KiB]
Downloaded 380 times

Author:  hans henrik [Tue Mar 10, 2015 5:14 pm ]
Post subject:  Re: Onlink 0.2.5 Beta - Last Update 2015-03-08

Also,


Edit:Correction,
The screenshot hotkey DOES work, my bad.

1: there's a bug with zooming in on World Map while you have admin access on some servers, the red/white squares go all over the map, far away from the computer they belong to (trivia, this was an original Uplink bug too, fixed in Onlink long ago, but now its back) http://imageshack.com/a/img908/6093/GqU0xB.png

2: when you actually select a server on the world map, the name vanishes.. (i don't know if this is intended or a bug ? but the changelog stated nothing about it, and wasn't like that in the 2014 version )

When running with Intel Integrated Graphics (popular with newer laptops),
3: the onlink game window is invisible to the windows printscreen button
4: the "preview window" thing in windows 7 taskbar is broken, its (mostly) just blank. http://prntscr.com/6f8g3t

However, 3-4 does not happen when running under Nvidia GeForce GTX 880M (popular with many gaming laptops) my laptop has both intel integrated (for power saving purposes), and GTX 880m (for gaming purposes), and i can choose what to run each program on..

Author:  hans henrik [Wed Mar 11, 2015 6:07 pm ]
Post subject:  Re: Onlink 0.2.5 Beta - Last Update 2015-03-08

here, GeorGINA Swatton looks more like George Swatton to me :lol:
And i've seen other examples too, sometimes, girls get a boy's name and visa-versa..

might be considered a bug

Attachments:
georgINA_swatton.jpg
georgINA_swatton.jpg [266.6KiB |Viewed 11212 times ]

Author:  hans henrik [Wed Mar 11, 2015 7:07 pm ]
Post subject:  Re: Onlink 0.2.5 Beta - Last Update 2015-03-08

Whoa, Agent-breaking bug: Go to stock Market,
Buy stocks until you can't afford anymore. if you stop buying exactly at the point where you can't buy anymore, no problem.

If you buy 1x more stock than you can affoard, you will lose all your stocks with the company, "Paid: 0c, Value: 0c, Owns: 0 shares."

Leaving you pretty much bankrupt. :shock:

Additionally, if your username in Stock Market has a space in it, Autofill will only remember your username up to the first space, and not the rest of it. :!: :!: (my username was "Hans Henrik" on the stock system, but after the 0 shares bug, it only remembered "Hans".)

Author:  hans henrik [Wed Mar 11, 2015 8:09 pm ]
Post subject:  Re: Onlink 0.2.5 Beta - Last Update 2015-03-08

can we drop ASLR/"Address space layout randomization"/disable "/DYNAMICBASE" msvc linker option in Onlink? until Onlink evolves into a MMORPG, there's no reason to use it in Onlink, its just a waste of cpu and makes it harder to debug :roll: and not the "hard" kind of hard either, just annoying-kind of hard (have to make the whole trip of GetProcessImageFileName / EnumProcessModules / GetModuleFileNameEx / GetModuleInformation to find "static" addresses~ )

Author:  hans henrik [Fri Mar 13, 2015 6:44 pm ]
Post subject:  Re: Onlink 0.2.5 Beta - Last Update 2015-03-08

(first off, first version of this "fix" had a big crashy flaw, and always assumed that we sold or bought 10x, i fixed both issues in "stockmarket2")
Until a new release, the stock market bug can be fixed by opening onlink in a disassembler (i used Cheat Engine http://www.cheatengine.org/ , and OllyDbg http://www.ollydbg.de/ ), and finding the Player::TradeShares function ( http://prntscr.com/6ggghb ),
then find the first call to CrissCross::Data::RedBlacktree, then going down to the test EAX,EAX, JNZ
( http://prntscr.com/6gird3 )

write down, and replace the JNZ address with 0068BCB5 (should be end of file, with a bunch of 0x00000000000000)
then at the 0068BCB5 address, replace the 0x0000 with

PUSHAD
cmp dword ptr [ebp+0C],0
jl EnoughMoney
PUSH -1
MOV ECX,ESI
CALL Company::GetSharePrice
MOV ESI,EAX
MOV EBX, dword ptr [ebp+0C]
IMUL ESI,EBX
MOV ECX,EDI
CALL Person::GetBalance
CMP EAX,ESI
JL SHORT NotEnoughMoney
EnoughMoney:
POPAD
JMP 004C2D68
NotEnoughMoney:
POPAD
JMP 004C2E5E
( http://prntscr.com/6gip54 )

where 004C2D68 is the original jump address of the JNZ we patched (i told you to write it down), and 004C2E5E is the last POP EDI in the Player::TradeShares function (where it cleans up after itself, preparing to return, http://prntscr.com/6ggik4 )
..also be wary of ASLR moving around everything
...well that was fun :D thanks to irc://irc.freenode.net/#asm for help with the assembly code

Attachments:
Onlink-x86_space_stockmarket2.zip [1.56MiB]
Downloaded 389 times

Author:  Aldar [Sat Mar 14, 2015 2:06 pm ]
Post subject:  Re: Onlink 0.2.5 Beta - Last Update 2015-03-08

Could anyone please help me with Onlink not being able to find libSDL_image-1.2.so.0, even though I have, and always had it, in /usr/lib64/libSDL_image-1.2.so.0? The older version didn't complain and ran without problems.
Also, I am running@OpenSuSE-13.1

Author:  hans henrik [Sat Mar 14, 2015 3:14 pm ]
Post subject:  Re: Onlink 0.2.5 Beta - Last Update 2015-03-08

@Aldar,
are you running the x64 edition of Onlink? or the x86 edition? anyway, if your OpenSUSE is multiarch, supporting both x86 and x64 bins, and you're running the x86 edition, install the x86/32bit SDL-devel package.. i bet onlink x86 is looking in /usr/lib86 or /usr/lib32 or /usr/lib , not /usr/lib64

..also note that its very annoying to play the current version of onlink, without fixing the bug described here viewtopic.php?p=18550#p18550 (it crashes when you try to remove a node from your bounce list, which you must do every time you want to go back into a server you've added to your bounce list previously... unless you want to make a brand new bounce list)

you can probably fix it by running something like
http://pastebin.com/raw.php?i=4KG2Kyd2
or just open it in a hex editor and replace "' AND "key"" with " AND "key"" (2x space) :lol:

Author:  Aldar [Sat Mar 14, 2015 4:06 pm ]
Post subject:  Re: Onlink 0.2.5 Beta - Last Update 2015-03-08

Quote:
@Aldar,
..also note that its very annoying to play the current version of onlink, without fixing the bug described here viewtopic.php?p=18550#p18550 (it crashes when you try to remove a node from your bounce list, which you must do every time you want to go back into a server you've added to your bounce list previously... unless you want to make a brand new bounce list)
First of all, thank you for such a quick reply, I was just being lazy to install the other part of SDL1 onlink required to run on this machine, now it at least starts, but as of your guide, at the given offset, I have 0xA8 not 0x27, and I wouldn't be able to use the exe you supplied anyway as I am on a linux machine.
And yes, I can confirm the same crash happening here too, unfortunately, but from at least the first look at the new connection manager, it looks I will no longer have to spend 5-10 minutes mindlessly clicking bounce points on a map to craft a custom route starting with internic, so, good work neverthless the bugs! :)

Edit: Also, the issued fix didn't change much, it now freezes Onlink at a corrupted screen with just the music still playing and had to be -9'd.

Edit#2 - Second try with the corrected code, but still, SIGABRT after attempting to re-connect to the disconnected node of the chain, but I very much appreciate you trying to help given the fact that I have no idea what the code substitudes for what, oh well!

Author:  hans henrik [Sat Mar 14, 2015 4:25 pm ]
Post subject:  Re: Onlink 0.2.5 Beta - Last Update 2015-03-08

great ^^
oh, and the exact offset is (very likely to be) different on every different compiler, different compiler options, and versions; the exact offset for windows, linux, and mac, is probably unique. i think you can fix it with a hex editor though, if you care, see the edited post above

Edit: yeah, THE FORUM messed up the code, by automatically truncating 2x spaces to 1 space, thus making awk remove a byte, thus invalidating all following addresses :|
for instance, inside here, i wrote 2x spaces: >>> <<<
how many spaces is there after i post this? i bet its 1
the code i wrote is here http://pastebin.com/raw.php?i=4KG2Kyd2

Author:  Mc2m [Sun Mar 15, 2015 4:44 am ]
Post subject:  Re: Onlink 0.2.5 Beta - Last Update 2015-03-08

More bug fixes done

As always, you can find the new version using theses links:
Windows: http://ferrousmoon.com/OnlinkSetup-0.2.5.exe
Linux: http://ferrousmoon.com/onlink.tar.gz

Changelogs:
- Patched broken displaying of connection manager and irc interface
- Fixed crash on removing specific data
- Patched freeze then crash upon tracing log (still working on a true fix)
- Fixed worldmap zoom
- Fixed gender picture and naming
- Fixed stock market stock bug

Page 24 of 36 All times are UTC-05:00
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/