Page 1 of 1

Ok this is reduculus...

Posted: Mon 24.11.2003, 23:13
by Rogue^.^
am i the only person that has noticed that there has been almost no activity in the forms or on the sites? and that it was sooooo close to 8.0!  :o  >:( realy its not good..... realy not good... i not like it!!!..... and its too damed quiet in this forum, when was the last post b4 this one? then ull see what i mean...  :-/
i wanted to see 8.0 and its neerly dec..... ::)
why why why why!!!!!!  >:( >:( >:( >:( >:( >:( >:( >:(

Re: Ok this is reduculus...

Posted: Tue 09.12.2003, 13:15
by TaintedAzure
Well, the angry, all killing mr.mage of  cheese is back ;D, i got back yesterday, finished remacroing and gonna be diving but 1st power diving a new character i started, hope to see ya on soon ppl ( play cheese for the cheesiest cheese action) :D

Re: Ok this is reduculus...

Posted: Fri 12.12.2003, 21:22
by Radi, Lopper
HI There!

I agree that there should be a little more communication! Has anyone gotten any sign at all if Crimson is alive? He is presumed dead in the virtual world unless he can be resserected!

Rohnan has to be reset. The stores are locked! "The doors are locked" Someone please do something! THe joke was funny but it does nasty things for Mangband's reputation!  

I am happy with version 0.7.0 :D !

Re: Ok this is reduculus...

Posted: Mon 15.12.2003, 11:34
by Roy Horn
There seems to be a problem on ronhan - the doors in town are all locked!

Any ideas?

Re: Ok this is reduculus...

Posted: Mon 15.12.2003, 13:43
by TaintedAzure
Well... i dont know, if the server is set to autorestart it self, if u want i can crash it... but if it isnt, rohnan will be down until crimson brings it bacl....
and another funny thing happened on Cheezband server, me and schway were going after morgy, got him in a perfect place too! a vault that was half of the whole lvl, im fighting morgy, all of a sudden the server crashed, i emediatly relog to find out that i am fighting now 2, TWO! morgys and cantoras.... i teleported away, then i get back there, and all of a sudden cause of server lag, it doesnt register in me hitting GoI macro until after the 2 morgies casted darkness storm and mana storm ~_~.... lost my only power dsm which i only found the day before ;(

Re: Ok this is reduculus...

Posted: Mon 15.12.2003, 15:13
by Big_Juan_Teh_Furby
If you CAN crash it, do it.  It'll auto-restart.

However, I'm suspcious that you COULD crash it...Jube said that every way he knew of crashing the server was fixed and didn't work.

I say give it a shot...worse comes to worse it won't work.

Re: Ok this is reduculus...

Posted: Tue 16.12.2003, 13:13
by TaintedAzure
ok juan. i will give me a day or 2 to get the software set up, and im not crashing it through the glitch in a game, im sending in a data packet telling it to close down, hopefully it will restart it self and will fix, like i said, day or 2 to get the software ( its nothing big that will really hurt the server, it will just rather "overload" it, making it restart)

Re: Ok this is reduculus...

Posted: Tue 16.12.2003, 14:23
by Big_Juan_Teh_Furby
At this point I dunno if it'll help.  Talking to Jube, he says that this is a PATCH, and that crashing the server won't help.  It's up to you if you wanna try it, but it may not work AND it might raise the ire of Crimson.  Of course, it might fix it and make him go "oh, okay, I don't have to fiddle with it after all."

I suspect he's just been uber busy with work stuff.

Re: Ok this is reduculus...

Posted: Tue 16.12.2003, 14:41
by Ashi
At this point I wouldn't mind having Crimson angry with me, since it would mean he still knows that Mangband exists, or that he still cares about it.

Re: Ok this is reduculus...

Posted: Tue 16.12.2003, 19:29
by radi, lopper
Thanks everyone for communicating these matters!!! It should help get things back to normal... overloading the system seems like a good idea... I got through to Crimson he sent me a quick note to tell me he was still alive.

He is probably chuckling at our misfortune... 8)

-Radagast, Lopper

Re: Ok this is reduculus...

Posted: Thu 18.12.2003, 13:35
by Crimson
Ugh.

Actually, yes, the server will automatically start itself, though it shouldn't be all that easy to crash anymore :).

The issue was with an overload in s32b for store_open.  store_open is used to allow DMs to set hours during which the store can not be used.  Unfortunately, turn in this case is kept as a signed 32bit  integer, where it needs to be kept as an unsigned 32bit integer.  

This happened because of the longevity of the town. (I don't think anybodies had a single town up and running this long, and this is no doubt causing other issues, which means I may have to reset town to put turns down to a reasonable level, or 1/2 them, or something...)

It also accounts for the monster_res bugs now popping up, and I have no doubt there are other more serious bugs in the game.

A quick hack might be to just 1/2 turn.  This will have some unusual effects, and may very well simply corrupt the game beyond salvage.

The final fix for this will be to change the data type accordingly, but that's a server save file issue, which means you have to upgrade the save file, and all the player files, on the fly, which is a lot more work than it's worth for me to fix just now, considering I don't use store hours.

The patch I made was simply to comment out the responsible code in server/store.c


//      if (store[which].store_open >= turn)
//      {
//              msg_print(Ind, "The doors are locked.");
//              return;
//      }

Re: Ok this is reduculus...

Posted: Thu 18.12.2003, 15:55
by Domino
WOO HOO!  Thanks Crimson.  Nice to hear from you :)  And thanks for looking into this for us!

!!THANK YOU!!

Posted: Thu 18.12.2003, 23:20
by Lopper
HI,

Yes your help, Crimson, was and is appreciated!!! Way to go... Taking time out for us is really a blessing!

Over and out...

Wooo

Posted: Fri 19.12.2003, 13:33
by TaintedAzure
yey, saved me lots of trouble, i have crashed some mangservers, but couldn't do it to u for some reason crimson :-\ anyways, thnks for the fix ;D ;D

Re: Ok this is reduculus...

Posted: Sat 20.12.2003, 10:17
by Berendol
Thanks for posting the relevant source code changes!