[Dev] Rune flyff

Status
Not open for further replies.
Re: Rune flyff

You guys used MinGW to compile it?
I managed to compile it on visual C++ express 2008, after an hour of searching for that pthread library lol...
Login server runs OK, (assuming no output in the window is made until someone log's in?)
But when it comes to run worldserver, this little...... fatal error comes up:
Duotone - [Dev] Rune flyff - RaGEZONE Forums


I did not compile as Release, would it matter?
Error searching on google gives me 1 valid result on this error dialog, and it says MSVC have problems with GetTickCount64, no matter about that I did actually change every GetTickCount64 to GetTickCount but same result I'm afraid.
The thread I read about this said the GetTickCount error was in POSIX ... but I even changed it in those, so well..

Anyone else tried to compile this yet?

Never mind, worldserver has to be compiled as Release.

~ Nicco
 
Re: Rune flyff

Yep it's working for me too now xP Been playing 5 hours lol, most things are working, very nice.
The flying will specially be use full atleast for osAFlyff, since we don't have that.
Alltho, it'l take some time to understand the source, he he.
 
Re: Rune flyff

After a quick google, it seems there is no GetTickCount64 on XP. It shouldnt break it if you change every GetTickCount64 to GetTickCount. At least not in the short run. And it should definetelly work in the debug build as well.
 
Re: Rune flyff

The binaries are included. You dont have to compile it. Unless you have xp.

I found a bug in the database, its concerning only those items wich were taken out after v6. To fix it execute these queries:
Code:
update itemlist set adjparamval1=-1 where destparam1=-1;
update itemlist set adjparamval2=-1 where destparam2=-1;
update itemlist set adjparamval3=-1 where destparam3=-1;
update itemlist set adjparamval1=destparam3 where adjparamval1=0 and destparam3!=-1 and parts>0;
update itemlist set destparam3=-1 where destparam3=adjparamval1 and parts>0;

That should fix it.
 
Re: Rune flyff

The binaries are included. You dont have to compile it. Unless you have xp.

I found a bug in the database, its concerning only those items wich were taken out after v6. To fix it execute these queries:
Code:
update itemlist set adjparamval1=-1 where destparam1=-1;
update itemlist set adjparamval2=-1 where destparam2=-1;
update itemlist set adjparamval3=-1 where destparam3=-1;
update itemlist set adjparamval1=destparam3 where adjparamval1=0 and destparam3!=-1 and parts>0;
update itemlist set destparam3=-1 where destparam3=adjparamval1 and parts>0;
That should fix it.
Also, here is a fixed version for windows XP.
Download link:
 
Last edited:
Re: Rune flyff

This is amazing.. I don't think it's that bugged and incomplete that you say, sure it needs some work. I'd say it's more complete than Caali, but I've only been testing for about 20 minutes yet so.. :P
 
Re: Rune flyff

This is amazing.. I don't think it's that bugged and incomplete that you say, sure it needs some work. I'd say it's more complete than Caali, but I've only been testing for about 20 minutes yet so.. :P

Thats not true. Belive me if i say its bugged:P. Im working on this for some time now. And i wouldn't say its more complete than Caali's, for example as i know even his leaked server files has pk system. Mine doesnt. Also you cannot meassure how complete a server is by how much different packets it knows. As soon as you figured out how to emulate one aspect of the game you can start thinking about how can it be done faster/with fewer resources. And that takes time. Not to mention bugs. Even pro programmers make bugs, and im not one of them.
 
Re: Rune flyff

yep.. it does not work....
I can't even login... unknown ID... and for this piece of crapcake I rebooted my machine -.-
 
Re: Rune flyff

It says unknown id for both if you messed up your name (or its not even exists), or if you messed up your password. Please note that name and password are case sensitive.
 
Re: Rune flyff

Adding an account after the server got started shouldn't cause any problem. Loginserver rellies fully on the database for everything. Worldserver loads everything except characters, accounts and mails. Characters are only loaded when you are logged in, so you need to be logged of with your char if you want to edit it from database, and have to restart the server if you want to edit monsters, items, drops etc.
 
Re: Rune flyff

Also, here is a fixed version for windows XP.
Download link:

Thx Hunter it works, but, error at user local host using password yes? where is the config.ini , or is on a .txt? .__. cuz my databe i dont remember tu put a password on it .__.

where do i exactly remove the password ?

:3

BTW nice release duotone. we need moar people like u <:

ok.. new problem...

i found were to edito LOL, in the server.txt but



localhost
root
root ............. i deleted this one cuz i dont have password and just leave a space in blank <:
flyff
0
1

after that i get this error, the loginserver never load D: and wen i try to open the worldserver it close after displaying this message:

Duotone - [Dev] Rune flyff - RaGEZONE Forums
 
Re: Rune flyff

You have to write the mysql config stuff into server.txt
If your database has no password, just leave an empty line there

Code:
localhost
DBUSER (like root or whatever)
                          
flyff3
0
1
 
Re: Rune flyff

yeah i did that.. and still got the image that i ut on the last reply >___<

do i have to change sometimes on the clusters query on the db? o.o

like i dunno something? xD
 
Re: Rune flyff

Well. 2 questions.
- Does your database called flyff3? if not, please exchange that line in server.txt.
- How much ram+virtual ram you have? (ctrl+shift+esc and performance tab)
(Its most likely the first one... but anyway. Im suprised by that out of memory exception...)
 
Re: Rune flyff

the database is named flyff, also is the name that i put on server.txt

i got 256 of ram and the cpu use is just 2% xD

i have runned caalis server plus the clint in here so i dont think is the ram ><

this is what i got on the server.txt

localhost
root

flyff
0
1

and the log in server just dont load anything o.o just stay on black screen, then i wait for like 1 minute and nothing, and i try to open worlserver.exe and appears that image on the last reply o.o
 
Re: Rune flyff

I checked the sources, found something that could raise an exception. Added some additional checks. Back on topic. Seems like it cannot load the clusters data from the database. You sure your database is called "flyff"?
 
Status
Not open for further replies.
Back