Page 2 of 2

Re: Hello, I am Qix

PostPosted: Thu May 23, 2013 6:19 pm
by Qix
Circa wrote:
Qix wrote:
kismetbecomes wrote:Well, I guess PY is right after all - the Rose revival already started. :D Welcome Qix!


It's sad that Rose needs a revival. This game made my life!

Thank you for the warm welcome :)


This is the most active its been with recent members actually learning and working to make their servers work and progress and not make threads basically begging for someone else to do the work for them.


Yea I can see why people having to build the servers would be turned off. There were a few build errors that had to be fixed to get things to work right (at least, with pRose) and you would have to have at least a basic knowledge of C++ for it to work.

On another note, if anyone wants to check out the Lua scripting implementation I would be happy to post it :) It's not finished but it's super easy to add callbacks and such.

Sample login-server script:
  1.  
  2. -- Requirements
  3. require("rose-common")
  4.  
  5. -- Log
  6. print("Loading Qix' Lua ROSE Login Server");
  7.  
  8. -- Register login handler (mainly a test)
  9. rose.OnLogin = function(username, ip)   
  10.     -- Query for access level (also just a test)
  11.     local r = rose.db.query("SELECT accesslevel FROM accounts WHERE username='" .. username .. "'")
  12.    
  13.     -- Print
  14.     print("User "..username.." is attempting to log in from "..ip .." with an access level of " .. r[0].accesslevel)
  15.    
  16.     -- Qix?
  17.     -- This only lets my user log in for dev purposes.
  18.     if(string.lower(username) == "qix") then
  19.         return true
  20.     else
  21.         return false
  22.     end
  23. end
  24.  

Re: Hello, I am Qix

PostPosted: Fri May 24, 2013 6:34 pm
by XxXshidoXxX
Welcome !
That's good more people are getting interested in pRose,I really want KTRose source to be finished someday^^

Also your scrip looks good but its very simple for now,i would like to see more.

Re: Hello, I am Qix

PostPosted: Sat May 25, 2013 1:01 am
by Qix
XxXshidoXxX wrote:Welcome !
That's good more people are getting interested in pRose,I really want KTRose source to be finished someday^^

Also your scrip looks good but its very simple for now,i would like to see more.


Yea didn't really have a need for any login validation at this point. Both login server and char server have some callbacks (such as when a user attempts to create a character; passes the name and the settings and the callback expects true or false for whether or not they should be allowed to create it).

World server will take some time. There are so many things I could callback. :) We'll see how it goes.

Re: Hello, I am Qix

PostPosted: Wed Jun 12, 2013 5:17 pm
by walten
you can use all my models for your server, you can find them there:
http://forum.dev-osrose.com/viewtopic.php?f=47&t=5461&start=10

dont forgett to use set shine to 0 in the zsc editor and some also need to have the option two sided textured enable through the zsc editor.