[Dev] DragonFlyFF Server

I have my server set to save every two minutes. Right now it saves everything but items because I am testing some things out. As far as the pseudo teleporting, I'm not going to worry about it just yet as there are a number of things to put in still. when i go back and fine tune everything I will probably fix it.

Also there is a difference in packet exchange when you click with a mouse and move with the keyboard. The keyboard does the constant calculation and the mouse only calculates from where you are to where you clicked and then stops at the destination.


On a further note, I have edited the monster file to load everything short of v12 monsters. I am working on that when v11 is done. I might start working on pets but I don't know yet. I want to get the shops up and running and get the buffer done.

Since you're using v6 based files while you include pk?
 
Glad to see you still working on it Glaph, my game engine has eaten up my last few weeks and couple of more, before i get it functioning properly, so i won't be around but i'll lurk around here checking out the status.
 
Glad to see you still working on it Glaph, my game engine has eaten up my last few weeks and couple of more, before i get it functioning properly, so i won't be around but i'll lurk around here checking out the status.

you and I must speak privately. I would like to know what progress you made on your own.
 
Made aq sort of crap version website Glaph approving with a dev website /forum or not?
 
some suggestions for your Server:

- next to the ini files where you can configure the servers (sql data, access level etc) you could build something like a scripting system where you could change variables if something gets in or you could create an event script where you can define when it starts and what will happen (for ex. droprate or exprate..) . you could also create an antihack or a gameguard server Or a Cash (penya) shop script that communicates with the website with it.
I know it would be open source but I don't think you can put any event into the exe file so a kind of scripting system would be good, because you don't need to recompile.
- log files. you can activate and deactivate the logging system through the ini files. The log files will contain infos about chat, trade,connection,admin actions and so on.
-

hmm just my 56 cents .
 
I suggest you to put To Do list in the tread including: What to be done and skills needed for it.So if someone can do it let you know in private message you put his name next to the task and everyone know that there is someone working on it and look for something that is not done yet.I`m talking about people outside your team willing to help.I`m complete noob and i want to help but i can`t do much.I try to learn C++, but right now i have not the time.My girlfriend is responsible for this :ott: .I`m not sure that my idea is suiting with DragonFlyFF Server devs, but if you like it, you can do it.
 
GlaphanKing - [Dev] DragonFlyFF Server - RaGEZONE Forums


wtf I just used a command xD
 
Last edited:
as soon as flyff makes it not save you're position in the memory but in automaticly in the database it would increase lag.

This is not what I was talking about.

Look;
I'm in position 5000 50 5000, and I mouse-click position 5100 50 5100. my character starts moving, but as soon as I clicked 5100 50 5100 the client sent a packet to the server containing 5100 50 5100.

If your server extracts the positions from the packet and sets the position to 5100 50 5100 RIGHT AWAY with no timers or anything, THEN, this IS teleporting - server sided.

AND since people can just quickly relog, if your server saves positions - you'll be on 5100 50 5100.

What I'm trying to say is, you know how flyff client calculates positions, right? While walking, spam /position command and see how the position changes every step.
Now I'm asking if your server actually has this feature.

I'm in no way talking about saving to database.
 
actually here is what is going on. You click a position. it extracts the coords from the packet and then makes an algorithm based on your current position and then destination position using a simple algorithm. If someone were to log and then relog. you would be at the last known position before the relog usually before you click the mouse or hit a key.

once you get to your destination, the server saves the new position in memory for it to be saved later.

The previous versions suffered from a tele relog bug which is hopefully fixed now since adidishen pointed it out in the first place.

The client sends a packet when you click a coord or hit a move key. it contains the destination coord and the player motion which is walking.

when the player reaches the destination the client sends another packet with the destination coord and the stop motion for the player.

I hope that broke it down some. The process is actually quite linear actually.
 
Everyone freakin asked me to stop using Caali files, so I am testing those files.

Game and Login Server connects to mysql, connects themself and alll, but FlyFF client does not show any server... so I can't test more those files.

What did I miss?
 
The easy way would be, set a timer to update your position 10 seconds after moving (server side)... so that way if you try relog before the 10 seconds are finished you would be at the old position still....

I did something like this, but mines more accurate, it calculates how far your going / how fast it'll take to travel that far.... its no way near correct but it'll prevent people logging out and trying to teleport.....

eg - Walking from Flaris Bank to Flaris Pet Tamer in 1 click.. not sure how long it actually takes, dont have a stop watch.. but my coding for that particular walking updates the variable after 5 seconds ;D ... walking across the Flaris Bridge and my function predicts 11 seconds ;D

Stuffs up when using the Velocity Scroll :S (Cause it takes half the time, and you find that if you log out to quickly after walking somewhere, although you walked there, and stood there... the timer is still going, Gotta fix it :P)

But it'll stop teleporting ;D
 
everyone freakin asked me to stop using caali files, so i am testing those files.

Game and login server connects to mysql, connects themself and alll, but flyff client does not show any server... So i can't test more those files.

What did i miss?

you did not see the discription use the edited flyff so that you can connect
 
i have same problem, this files don't work for me. And a server need to be universal.

If you must have a strict version and not other for run on it it's not cool.
 
Follow GlaphanKing's post exactly. Honestly, if you can't make this work, you probably shouldn't even be testing it out. Just my two cents. I got is started on my first try, to be honest.
 
i have try with more things and never succeed, with v11 or v12 client, with his neuz no gg and my old.

never works, for me need bo more compatible with client.
 
Back