|
You last visited: Today at 03:45
Advertisement
Keving's Flat-File DB makes Inventory Bug!!
Discussion on Keving's Flat-File DB makes Inventory Bug!! within the CO2 Private Server forum part of the Conquer Online 2 category.
11/16/2008, 19:52
|
#1
|
elite*gold: 0
Join Date: Jun 2007
Posts: 390
Received Thanks: 92
|
Keving's Flat-File DB makes Inventory Bug!!
Just to warn peoples ... if you use Keving's Flat-File Database , it makes Inventory bug... After 14 items in inventory and if u dc and re login char is naked and not all items in inventory appears!
|
|
|
11/16/2008, 20:06
|
#2
|
elite*gold: 0
Join Date: Feb 2008
Posts: 1,590
Received Thanks: 154
|
Check the loading of Inventory, it probably sucks.
|
|
|
11/16/2008, 21:11
|
#3
|
elite*gold: 0
Join Date: Jun 2007
Posts: 390
Received Thanks: 92
|
lol... i just changed all Cli.WriteString to Save.WriteString in public static void SaveChar(Character Charr) in Database.cs and now no more naked char if dc and relogin... but only save 15 items / 40 in inventory. Now i discovering coding by myself instead copy and paste
|
|
|
11/16/2008, 22:14
|
#4
|
elite*gold: 0
Join Date: Dec 2007
Posts: 618
Received Thanks: 213
|
lol, try with something like
Save part:
Code:
byte Count = 1;
foreach(string item in Charr.Inventory)
{
Cli.WriteString("Character","Inventory[" + Count.ToString() + "]", item);
}
Get inventory , from get mychar info`s part:
Code:
string wholeinv = "";
for(byte k = 1;k<41;k++)
{
string inv = Cli.ReadString("Character","Inventory[ + k.ToString() + "]")
wholeinv += inv + "~";
}
Charr.PackedInventory = wholeinv;
it should be working,  , just wrote it on a laptop(i`m normaly doing all C# stuff on a pc xP)
forgot to add, 90% from this is Ultimatum`s and 10% mine ( we did it thogheter )
|
|
|
11/17/2008, 05:15
|
#5
|
elite*gold: 0
Join Date: Feb 2008
Posts: 277
Received Thanks: 52
|
Quote:
Originally Posted by alexbigfoot
lol, try with something like
it should be working,  , just wrote it on a laptop(i`m normaly doing all C# stuff on a pc xP)
|
[edit] id rather sort it through msn
|
|
|
11/17/2008, 08:29
|
#6
|
elite*gold: 0
Join Date: Dec 2007
Posts: 618
Received Thanks: 213
|
1.yea, i realy wrote it on a laptop , from what i remembered
and 2. i said u helped me ok?
|
|
|
11/17/2008, 15:27
|
#7
|
elite*gold: 0
Join Date: Feb 2008
Posts: 277
Received Thanks: 52
|
Ok sorted through here instead, anyway
Quote:
byte Count = 1;
foreach(string item in Charr.Inventory)
{
Cli.WriteString("Character","Inventory[" + Count.ToString() + "]", item);
Count++;
}
|
|
|
|
11/17/2008, 18:24
|
#8
|
elite*gold: 0
Join Date: Dec 2007
Posts: 618
Received Thanks: 213
|
****, i forgot to add that Count++; ,thx ultimatum
|
|
|
11/17/2008, 18:59
|
#9
|
elite*gold: 0
Join Date: Jun 2007
Posts: 390
Received Thanks: 92
|
i discovered not only inventory have that bug.... Warehouses too... after 15 items deposit , dc and relog and all warehouses are empty..lol
|
|
|
11/17/2008, 19:30
|
#10
|
elite*gold: 0
Join Date: Dec 2007
Posts: 618
Received Thanks: 213
|
lol...and u wait the answer from us right?
|
|
|
11/17/2008, 21:05
|
#11
|
elite*gold: 0
Join Date: Jun 2007
Posts: 390
Received Thanks: 92
|
Quote:
Originally Posted by alexbigfoot
lol...and u wait the answer from us right?
|
Nope... just telling that problem so peoples can test and see if they have same problem.
i'm back to MySql anyway less problems than converting all source to .ini
|
|
|
11/17/2008, 21:17
|
#12
|
elite*gold: 0
Join Date: Dec 2007
Posts: 618
Received Thanks: 213
|
yea, and after , if u dont know how to make ur mysql(in ur source) to work properly , lol too many errors
|
|
|
11/17/2008, 22:46
|
#13
|
elite*gold: 0
Join Date: Jun 2007
Posts: 390
Received Thanks: 92
|
Quote:
Originally Posted by alexbigfoot
yea, and after , if u dont know how to make ur mysql(in ur source) to work properly , lol too many errors
|
only 1 error in my server.. the SaveChar thing... what we call RollBack in ShadowCo....lol and i'll find out of epvpers the way to fix that.
|
|
|
11/18/2008, 08:35
|
#14
|
elite*gold: 0
Join Date: Dec 2007
Posts: 618
Received Thanks: 213
|
try to do an "save of each thing on its command"
|
|
|
 |
Similar Threads
|
Inet Flat und HP
07/03/2010 - Off Topic - 6 Replies
moin moin
ich suche eine Internet Anbieter der mir Folgendes bieten kann.
- Internet Flat
- Telefon Flat
- Mobilfunk ( Flat ins Dt. Festnetz)
- ISDN
dann suche ich noch einen Anbieter für eine Hompage. Wo sollte man dort am besten eine kaufen?
|
Database vs. Flat-Files
04/08/2010 - CO2 Programming - 21 Replies
Post your opinion.
|
[QUESTION]what file to setting inventory limit bugs..?
01/13/2010 - EO PServer Hosting - 4 Replies
hello im having a inventory bug limits..as u can see TQ inventory limits is 40 places..how do i setting my db or clinet side to make it limit 40..? coz as u can at that pic my limits item in inventory just 30 only..where should im setting..? if u have an idea please share with me..thanks..:rolleyes:
http://img694.imageshack.us/img694/5359/2214619.j pg
|
Editing a flat-file or ini source
01/31/2009 - CO2 Private Server - 4 Replies
The v1.3 ShadeCO source is an example, how do you modify these, like adding coding that normal is done on C# files
|
Dsl flat+Phone flat.
09/30/2006 - Main - 7 Replies
Hi.Also ich muss jetzt neue dsl machen weil ich umziehe auf neue wohnung,da ich hab kein bog mehr 70 euro für t online ausgeben suche ich etwas was würde mir zusammen kosten bis 55 euro pro month.
Ich habe gesehen bei arcor.de dass die haben so einen tarif wo dsl 6000+telefon flat.Ich habe nur nicht verstanden ob ich noch für andere anschluße bezahlen muss,z.B wie T com oder so was.Kann mir jemand links auf günstige angebote senden.
Danke.Aber alles muss nicht mehr als 55 euro pro monath...
|
All times are GMT +1. The time now is 03:45.
|
|