Post Pacific

Post Pacific (https://postpacific.loc-online.com/index.php)
-   Темы без сохранившегося раздела (https://postpacific.loc-online.com/forumdisplay.php?f=10001)
-   -   clan crests are causing crash (https://postpacific.loc-online.com/showthread.php?t=331)

damienstone 07.04.2005 07:36

clan crests are causing crash
 
OS: Windows XP 5.1 (Build: 2600)
CPU: GenuineIntel Unknown processor @ 2615 MHz with 511MB RAM
Video: RADEON 9600 SERIES (6476)

Assertion failed: MipmapSize <= Length [File:UnCanvas.cpp] [Line: 602]

History: UL2TextureFactory::FactoryCreate <- UFactory::StaticImportObject <- UNetworkHandler::Tick <- Function Name=PledgeCrestPack <- UGameEngine::Tick <- UpdateWorld <- MainLoop


ANY WAY TO WIPE THE CLAN CRESTS PART OF THE DB??? THEIR CAUSING PEOPLE TO CRASH. ITS ALL SCREWED UP!

flakka 07.04.2005 08:41

I thought you fixed it? :?

And why is it that your clients crash all the time? How can your installation of the server and clients be any different from mine? I just can't understand why.

It's really not that hard. Seriously. I'm willing to bet that it's 100% user error because if we have the same thing and you're crashing then there something seriously wrong here. :?

yellowperil 07.04.2005 09:39

Yep we are having that aswell, what we noticed is that the mobs seem to be having crests (this is what is cauding the crash i guess).

Maybe its the 98.rar fix, or something, but its definately not server side.

Yellowperil

damienstone 07.04.2005 09:44

I believe servers that have never been c1 dont have this problem.THIS IS A HUGE PROBLEM! DIGITAL PLEASE TAKE A LOOK INTO IT!

thanks a bunch.

yellowperil no matter what patch you use you cant fix it. Im now using a different auth server using bake ice etc that patch. And we still get the problem


flakka, it was fixed temporarily before someone added a crest and our clients downloaded it I g uess and crashed.

flakka 07.04.2005 09:46

Instead of pushing for a fix, why not just disable it for now until it's fixed?

Check in lin2world under Pledge_Crest. Just delete that key for now. Unless there's another way of doing it, then I wouldn't know.

damienstone 07.04.2005 09:48

i have no idea how to disable crests. I got my guy trying to make a script to remove current crests but that wont do much since out of the hundreds of clans one will add a new crest and screw everything up again

flakka 07.04.2005 09:51

Or just delete all of the pledge entries in the database for now.

(Damn you reply fast, lol) :lol:

damienstone 07.04.2005 09:53

hmm delete all the crests and I guess rename the fields in the crests table so new ones can be added?

flakka 07.04.2005 09:56

You can probably do that. Or just make a backup and delete the entries all together. You'll probably get red lines when the server is loading, but it shouldn't be problematic.

damienstone 07.04.2005 10:01

rename the crest table?

flakka 07.04.2005 10:13

Just delete it after you make a backup.

Like I said, I wouldn't know how else to do it. If you rename it, it might cause problems and it could create some more problems. Where as if you deleted them, it would just tell you it couldn't load/find it.

damienstone 07.04.2005 10:19

i renamed it. Now no one can create a new crest. Now next objective. Pledge table: crest_Id turn all those into number 0.
Then I should be set till digital makes a fix.

damienstone 07.04.2005 10:31

ok new crests cant be made and all crest ids have been set to 0 to block current crests:
renable pledge_crest table to pledge_crest2
sql query to lin2world
UPDATE Pledge
SET crest_id = 0
FROM Pledge

all done :)

flakka 07.04.2005 10:42

Cool. Glad you got it to work. :D

yellowperil 07.04.2005 10:52

I wouldnt call this a fix really.

As to why c1 updated to c2 causes this, is the data stored differently.

Would like to see this and have a proper fix.

damienstone 07.04.2005 11:01

for now this is required. Or youll be agitated for days and days!

Dubie 16.04.2005 04:13

I am now getting this as well ;(
Not sure what the hell is going on.
Everything was running good.
Then tonight like 20times in the night I got the boot with this error.
Also everyone else gets kicked that was in the area of cause.
Hard to believe that only a couple are having this error.

If anyone has a fix "not deleting and disableing things" please post.
If I find anything out I will post back as well.
Hmm seen some post about it but not sure if it was fixed in any of them.
Might have posted to soon but maybe not I will keep looking.
Sry if it has been answered and fixed.

Thanks for your time,
Dubie

yellowperil 16.04.2005 04:58

if you moved from c1 to c2, then you NEED to do this.

Go to the clans DB, and set all the crests valaue to zero.
Go to the BD were the pledge images are stored and delete all the entries.

The way C2 now stored pledges in the sql database as BINARY is not compatible with the way C1 stored them.

Once they are all deleted bring your server back up. They can reload there clan crest and everything will be fine.

I did this and havent had a single peldge crash for 2 weeks now.

Yellowperil

damienstone 16.04.2005 05:18

Quote:

Originally Posted by yellowperil
if you moved from c1 to c2, then you NEED to do this.

Go to the clans DB, and set all the crests valaue to zero.
Go to the BD were the pledge images are stored and delete all the entries.

The way C2 now stored pledges in the sql database as BINARY is not compatible with the way C1 stored them.

Once they are all deleted bring your server back up. They can reload there clan crest and everything will be fine.

I did this and havent had a single peldge crash for 2 weeks now.

Yellowperil

What you say is the second thing our team tried last week. And it didnt work for us

We set crest_id to 0
Alliance crest ids to 0
then pledge_crests table I think that lists a huge amount of ids with images that have entries that say <binary>
deleted every single line of this table

launched server and was ok for about 20 minutes till people started getting the crash. might work for some people but if you have as many clans as us dont expect it to work.

damienstone 02.05.2005 17:01

Quote:

Originally Posted by yellowperil
if you moved from c1 to c2, then you NEED to do this.

Go to the clans DB, and set all the crests valaue to zero.
Go to the BD were the pledge images are stored and delete all the entries.

The way C2 now stored pledges in the sql database as BINARY is not compatible with the way C1 stored them.

Once they are all deleted bring your server back up. They can reload there clan crest and everything will be fine.

I did this and havent had a single peldge crash for 2 weeks now.

Yellowperil

still no pledge crashes? im trying different l2server.exe and auth exe than i was before so maybe what you recommend will work now?

maybe I didnt do the db changes right?

yellowperil 02.05.2005 19:34

havent has 1 crash since I did this.

The machines that are getting the crashes, ask them toi delete the crests that are stored locally aswell.

But Since I wiped out all the crests from the DB, you can spot it cos all the crests are stored in this DB as BINARY info, just make sure you set the clan info to crest id 0 aswell, I havent had ANY issues at all. Server was up for 7 days without a crash.

One thing I had to do though was disable all the Community Board stuff, as this was causing server side crashes. Summons was causing issues, but since the HEX was posted havent had any issues with that either now.

Things seem to be prety stable now.

damienstone 03.05.2005 00:48

hmm im tempted to test it out. But you know how a couple thousand people get when a server goes down for reboot lol.

yellowperil 03.05.2005 05:51

expecially when they have to reload there crests aswell :), but hey if it makes your server more stable, its worth it.

damienstone 03.05.2005 15:46

Quote:

Originally Posted by yellowperil
expecially when they have to reload there crests aswell :), but hey if it makes your server more stable, its worth it.

what I heard is you have to hex edit l2server to remove crests from npc's for it to work. I coulda sworn at our last test I removed every little trace of crests yet when someone made a crest (well some people made them but it didnt crash people, some people crashed others)

EverCooL 04.05.2005 12:40

Hymm i had this crazy idea but it might work after all...
i noticed that in NPCdata there is a field for the pledege_id of the NPC
What if you create one pledge direclty into the DB with no icon crest and place all the spawnable monsters into that pledge... i think this should fix the things out cuz the crest are only seen on spawnable monters... i haven't seen a crest on a Trader or Teleporter :)
I will try this tonight ...

damienstone 04.05.2005 15:08

Alright ill wait to see how it goes.

yellowperil 04.05.2005 15:18

I thought that pledge ID was a reference to the mob linking ?

rodobeban 04.05.2005 19:44

i saw crest on traders and teleporters, but still we can erase them i think we dont have to link them its not necessary.

Someone can test to remove the pledge_id from a mob and them hit to see if other mobs attacks you?
beacuse in 2nd thoughts, why the pledge_id is necessary on mobs?
let me know if i can help in something

damienstone 12.05.2005 09:22

dam even with the new riding striders / wyverns exe still clan crests problem :(

Digital 12.05.2005 13:18

it's probably a database fault i believe
like what yellow have said
http://www.xiaobinbbs.com/bbs/Upload...3393725423.gif

damienstone 12.05.2005 17:27

i deleted every instance of the crests and still those damn crashes. We either need a new sql script attached to our c1 ones or we need something hexed but like you say its probably the db and I think so too.

rodier 21.05.2005 07:26

I set all crest IDs to 0 and renamed table.
But people still see crests @ monsters name = crashing in party
How to definitly ban crests from server for time?

demon 21.05.2005 10:34

i deleted all crests, and alianse crest and crest_id from clans and everything works fine

rodobeban 21.05.2005 10:39

Quote:

Originally Posted by rodier
I set all crest IDs to 0 and renamed table.
But people still see crests @ monsters name = crashing in party
How to definitly ban crests from server for time?

making constraint in that table in SQLserver?

for the stupid ones this is a retorical question...

damienstone 23.05.2005 05:24

deleting crests, alliance crests and setting all crest ids to 0 does not work. Might work for a little while if you have a small server but it wont be long before you notice all the crashes.

Domzelan 01.06.2005 13:09

how we can fix it?

rodier 05.06.2005 04:05

i changed size of value what can be saved in last crest column where u see <binary> = now nobody can save logo = u dont need to rename table with crests = no spams in cached. = no client crashing or server lagging.

and of course all ID = 0 and all records deleted.


All times are GMT. The time now is 15:32.