|
You last visited: Today at 11:53
Advertisement
Saving Rebirth to database!
Discussion on Saving Rebirth to database! within the Flyff Private Server forum part of the Flyff category.
06/28/2013, 23:14
|
#1
|
elite*gold: 0
Join Date: Oct 2012
Posts: 948
Received Thanks: 157
|
Saving Rebirth to database!
Hi elitepvpers,
Well i was scripting the rebirth system over again to use and different field instead of m_nCampusPoint what most people are using.
So what i did was inside character_tbl i have an new field called m_nRebirth
Also in the character_str Procedure i have added these lines in their correct order
@im_nRebirth int = 0
U1
, m_nRebirth = @im_nRebirth
I1
, m_nRebirth
, 0
inside dbManagerSave.cpp
#ifdef __REBIRTH
",?"
#endif
#ifdef __REBIRTH
MAX_SAVEPARAM += 1; //m_nRebirth
#endif
#ifdef __REBIRTH
bOK[++j] = qry->BindParameter( i++, SQL_PARAM_INPUT, SQL_C_LONG, SQL_INTEGER, 0, 0, &pMover->m_nRebirth, 0, 0);
#endif
Compiling with no errors so you know that the rest of the code is correct.
Now when i do an rebirth i am recieving this error
query:{call CHARACTER_STR('U1','0000010','01','',?,?,?,?,?,?,? ,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,? ,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,? ,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,? ,?,?,?,?, 923, 923, 0,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?, ?,?)}
SQLSTATE:07002 error:[Microsoft][SQL Native Client]COUNT field incorrect or syntax error
After checking the tables its the same ammount. so no problems there
If i delete ",?" from dbManagerSave.cpp then i dont have that error the only problem then is that its not saving the rebirth.
Anyone can give me an tip on where to look?
With kind regards
Update
I have added JOPS_GlOW system
Now when i do an rebirth it is updating the GlowHandRight field instead of the m_nRebirth field.
Any help or tips that can lead to the fix will be appriciated.
|
|
|
06/30/2013, 14:01
|
#2
|
elite*gold: 0
Join Date: Oct 2012
Posts: 948
Received Thanks: 157
|
bump
|
|
|
 |
Similar Threads
|
[Official Release] Rainbow Database: Vampire/Godship/Legionairre Database!
04/25/2021 - EO PServer Guides & Releases - 106 Replies
http://i43.tinypic.com/jgo485.png
Additional: The database contains all material and server features which I alone coded, designed and created. I can barely recall if their were any bugs. I think there was with one of the vampire skills. People said it was supposed to be an xp skill but they could use it without having to be on XP. So its pretty minor but if you find any other problems please report them to this thread and i'll make a fix asap.
Many database releases have come before this...
|
Problem with database Saving
04/21/2012 - CO2 Private Server - 5 Replies
i made Cloudsaint jar Table but its not working
heres my codes
using System;
using System.IO;
using System.Text;
using Conquer_Online_Server.ServerBase;
using System.Collections.Generic;
|
Guide pour Sauvegarder sa base de donnée FR/US Guide to Saving the database! FR/US !
01/18/2012 - Rappelz Private Server - 2 Replies
Bonjour,
Petit guide (By darckistyle) pour faire une sauvegarde de son serveur !
Vous ne vous êtes jamais dit : comment sauvegarder ma base de donnée en cas de crash ?
Car si vous pensez que dans le sql que toutes vos donnée qui y sont sont aussie dans le fichier ou se situe la base de donnée, C'EST UNE GRANDE ERREUR !
Vous pouvez toujour faire un copier collée, rien est sauvegarder, il vous faut faire une sauvegarde manuelle pour gardé toutes vos donnée.
|
REBIRTH Client Patch , REBIRTH share Patch ,SERVER
01/07/2010 - Dekaron Private Server - 34 Replies
REBIRTH Client SKILL Patch
MEGAUPLOAD - The leading online storage and file delivery service
REBIRTH share SKILL Patch
MEGAUPLOAD - The leading online storage and file delivery service
:rolleyes:
|
Saving with CE/UCE
02/04/2008 - Kal Online - 1 Replies
Hey guys.
Revo 8.3 and rootkit is fine for International Servers.
Question: Could i change the cooldown values (eg splashy, ice magic etc...) and then save it so that i just open that file with engine.exe as my target in uCE and it will work?
I dont think it'll work because the values for cooldowns always change, so i gotta change all the skills manually, as well as the speed up.
just need a simple answer here and thanks in advance
|
All times are GMT +1. The time now is 11:54.
|
|