Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Rappelz > Rappelz Private Server
You last visited: Today at 17:44

  • Please register to post and access all features, it's quick, easy and FREE!

 

[RELEASE]RDB to SQL PerResource C++ Source code

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Aug 2012
Posts: 312
Received Thanks: 252
[RELEASE]RDB to SQL PerResource C++ Source code

Hey I give you the very hard source code*trololololo* for read rdb in C++
After you just have to change the structure and the SQL query for other RDB




gr4ph0s is offline  
Thanks
6 Users
Old   #2
 
elite*gold: 0
Join Date: Aug 2011
Posts: 535
Received Thanks: 232
It's actually not 'very hard source code', it's just a dark forest for some people.


marekrndr is offline  
Old   #3
 
elite*gold: 0
Join Date: Aug 2012
Posts: 312
Received Thanks: 252
Quote:
Originally Posted by marekrndr View Post
It's actually not 'very hard source code', it's just a dark forest for some people.
I know is for that i say trolololo
every people can do it in less than 1/2 day if they don't know programming...
gr4ph0s is offline  
Old   #4
 
elite*gold: 0
Join Date: Apr 2010
Posts: 389
Received Thanks: 289
I don't know much about programming , I don't even know if this code is right or not , but can this be modified for reading other rdb files ?


Strange2010 is offline  
Old   #5
 
elite*gold: 0
Join Date: Aug 2012
Posts: 312
Received Thanks: 252
Yes this is the base... In exemple for CharachterMotion (is the same base just look what is changed) => (the last one i release ^^)
gr4ph0s is offline  
Thanks
3 Users
Old   #6
 
elite*gold: 0
Join Date: Apr 2012
Posts: 453
Received Thanks: 781
good start. Now use classes to just have to change a structure to read another rdb (and not any sql/file reading related code)

Then use a lua vm and move all structures in lua so you don't have to recompile your rdb tool to read a new rdb or update a structure (lua because some rdb are not just simple structure, they need some data processing unfortunately, and because some people there should know how to make that)
glandu2 is offline  
Thanks
2 Users
Old   #7
 
elite*gold: 0
Join Date: Aug 2012
Posts: 312
Received Thanks: 252
I know it i have done a class who just asking the struct and the rdb/sql file but not for the lua ^^
I will done it and release it
gr4ph0s is offline  
Thanks
1 User
Old   #8
 
elite*gold: 0
Join Date: Nov 2009
Posts: 19
Received Thanks: 9
AutoIt
j0k3r91 is offline  
Old   #9
 
elite*gold: 0
Join Date: Aug 2012
Posts: 312
Received Thanks: 252
De quoi donc? Si tu veux je peux mettre aussi une source en autoit mais c'est assez crade(enfin comme la quoi sans prog objet ^^) enfin en autoit quoi... x)
gr4ph0s is offline  
Old   #10
 
elite*gold: 0
Join Date: Aug 2012
Posts: 10
Received Thanks: 4
Hello could you help me to find the fault?
The IDE shows 0 error bot if I start the .exe it show that the program does not work anymore (Windows error message) and the .sql file is empty.

Here my code:

xxexx is offline  
Thanks
1 User
Old   #11
 
elite*gold: 0
Join Date: Apr 2012
Posts: 453
Received Thanks: 781
if you compile a 64bits program, RDB.read((char *) &nbloop,4) is not enough, as an integer will be 64bits (8 bytes), you have to add nbloop = 0 in this case before the read.
And (string)data[i].model should not be necessary, your data is already typed, why casting them all ? And for ' " ', it should be ' \' ' (without spaces) as the " is for column names and ' for values

If with that you still have the problem, try commenting out some part of code (or use a debugger)
glandu2 is offline  
Thanks
2 Users
Old   #12
 
elite*gold: 0
Join Date: Aug 2012
Posts: 10
Received Thanks: 4
Hm thx for you help but i think i should stop working on in cause i don't know what i do at all xD
Well, then i just wait for a release of a new resource editor =/


xxexx is offline  
Thanks
1 User
Reply



« Previous Thread | Next Thread »



All times are GMT +1. The time now is 17:44.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2017 elitepvpers All Rights Reserved.