Iris2.de

Iris2-Forum
It is currently Wed Apr 24, 2024 1:52 pm

All times are UTC




Post new topic Reply to topic  [ 32 posts ]  Go to page 1, 2, 3  Next
Author Message
PostPosted: Thu Jul 31, 2008 2:23 am 
Offline
User avatar

Joined: Fri Jan 25, 2008 7:11 pm
Posts: 39
Location: Argentina
I made everything, I did delete the old. I downloaded the new one. I did Update of the UO client. I choose different way for the graphics. Anything work. I can't logon onto my shard by Iris2 client, because when I do logon with my Admin-Char the client crash and it's sending me this code everytime
.
Code:
: Wed Jul 30 22:21:12 2008

LuaError
error running function `Main': ..//lua/lib.3d.dynamic.lua:382: attempt to compare number with nil
LuaStackTrace:

   ..//lua/lib.3d.dynamic.lua:382: in function `CreateDynamicGfx'
   ..//lua/lib.3d.dynamic.lua:19: in function `AddDynamicItem'
   ..//lua/obj/obj.dynamic.lua:155: in function `Update'
   ..//lua/obj/obj.dynamic.lua:70: in function `CreateOrUpdateDynamic'
   ..//lua/net/net.dynamic.lua:86: in function `handler'
   ..//lua/lib.protocol.lua:73: in function `HandlePackets'
   ..//lua/lib.net.lua:91: in function `NetStep'
   ..//lua/main.lua:396: in function `MainStep'
   ..//lua/main.lua:352: in function <..//lua/main.lua:276>
..\lugre\src\lugre_main.cpp:182:Lugre::Lugre_Run
..\lugre\src\lugre_game.cpp:19:Lugre::cGame::Run
  ..\lugre\src\lugre_scripting.cpp:263:Lugre::cScripting::LuaCall
   ..\lugre\src\lugre_scripting.cpp:209:Lugre::LuaErrorHandler
PrintLuaStackTrace:
LuaStackTrace:

And the first time I got logon.. it crashed when I started walking. At the last, it don't let me log on anymore. :S

_________________
http://ls-uo.localstrike.com.ar
http://www.localstrike.com.ar/gaming/ultimaonline/


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 31, 2008 10:38 am 
Offline
iris2-developer
User avatar

Joined: Tue Aug 22, 2006 1:21 pm
Posts: 173
Location: Munich, Germany
i just added some additional checks in the unstable version.
can you please update unstable and try again?

_________________
O-->---


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 31, 2008 12:39 pm 
Offline
User avatar

Joined: Fri Jan 25, 2008 7:11 pm
Posts: 39
Location: Argentina
hagish wrote:
i just added some additional checks in the unstable version.
can you please update unstable and try again?
Code:
:: Thu Jul 31 09:28:17 2008

LuaError
error running function `Main': ..//lua/lib.3d.dynamic.lua:342: assertion failed!
LuaStackTrace:

   [C]: in function `assert'
   ..//lua/lib.3d.dynamic.lua:342: in function `CreateDynamicGfx'
   ..//lua/lib.3d.dynamic.lua:19: in function `AddDynamicItem'
   ..//lua/lib.3d.renderer.lua:64: in function `StartInGame'
   ..//lua/main.lua:362: in function `StartInGame'
   ..//lua/net/net.login.lua:270: in function `handler'
   ..//lua/lib.protocol.lua:73: in function `HandlePackets'
   ..//lua/lib.net.lua:91: in function `NetStep'
   ..//lua/main.lua:396: in function `MainStep'
   ..//lua/main.lua:352: in function <..//lua/main.lua:276>
..\lugre\src\lugre_main.cpp:182:Lugre::Lugre_Run
..\lugre\src\lugre_game.cpp:19:Lugre::cGame::Run
  ..\lugre\src\lugre_scripting.cpp:263:Lugre::cScripting::LuaCall
   ..\lugre\src\lugre_scripting.cpp:209:Lugre::LuaErrorHandler
PrintLuaStackTrace:
LuaStackTrace:

lol .. Something is changed but..

_________________
http://ls-uo.localstrike.com.ar
http://www.localstrike.com.ar/gaming/ultimaonline/


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 31, 2008 5:21 pm 
Offline
iris2-developer
User avatar

Joined: Mon Aug 09, 2004 12:20 pm
Posts: 1431
This way my bug :-).

It's fixed now. I changed yesterday several initial things in Iris2.

As unstable is our development version, it can happen, froom day to day there are some errors in it. So please update unstable not to often, if you have a working version.

I think we release a new STABLE version this weekend.

_________________
http://crankgaming.blogspot.com/ | https://twitter.com/#!/crank_gaming


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 31, 2008 5:33 pm 
Offline
User avatar

Joined: Fri Jan 25, 2008 7:11 pm
Posts: 39
Location: Argentina
Code:
:: Thu Jul 31 13:51:18 2008

LuaError
error running function `Main': ..//lugre/lua/lib.guimaker.lua:600: bad argument #2 to 'SetDimensions' (number expected, got nil)
LuaStackTrace:

   [C]: in function `SetDimensions'
   ..//lugre/lua/lib.guimaker.lua:600: in function `MakePlane'
   ..//lua/gui/gui.gumpmaker.lua:156: in function `MakeBorderGumpPart'
   ..//lua/gui/gui.paperdoll.lua:253: in function <..//lua/gui/gui.paperdoll.lua:219>
   ..//lua/gui/gui.paperdoll.lua:391: in function `RebuildPaperdoll'
   ..//lua/obj/obj.mobile.lua:159: in function `Update'
   ..//lua/obj/obj.mobile.lua:110: in function `UpdateContent'
   ..//lua/obj/obj.container.lua:35: in function `AddContentObject'
   ..//lua/obj/obj.dynamic.lua:187: in function `SetContainer'
   ..//lua/obj/obj.dynamic.lua:136: in function `Update'
   ..//lua/obj/obj.dynamic.lua:70: in function `CreateOrUpdateDynamic'
   ..//lua/obj/obj.container.lua:117: in function `HandleEquipItem'
   ..//lua/net/net.dynamic.lua:19: in function `handler'
   ..//lua/lib.protocol.lua:73: in function `HandlePackets'
   ..//lua/lib.net.lua:91: in function `NetStep'
   ..//lua/main.lua:396: in function `MainStep'
   ..//lua/main.lua:352: in function <..//lua/main.lua:276>
..\lugre\src\lugre_main.cpp:182:Lugre::Lugre_Run
..\lugre\src\lugre_game.cpp:19:Lugre::cGame::Run
  ..\lugre\src\lugre_scripting.cpp:263:Lugre::cScripting::LuaCall
   ..\lugre\src\lugre_scripting.cpp:209:Lugre::LuaErrorHandler
PrintLuaStackTrace:
LuaStackTrace:

It was an Elven Bow that I put to wear

_________________
http://ls-uo.localstrike.com.ar
http://www.localstrike.com.ar/gaming/ultimaonline/


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 31, 2008 7:06 pm 
Offline
iris2-developer
User avatar

Joined: Mon Aug 09, 2004 12:20 pm
Posts: 1431
Custom?

Is it a custom serverside gump? if so, please check if its correct.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Aug 01, 2008 12:22 am 
Offline
User avatar

Joined: Fri Jan 25, 2008 7:11 pm
Posts: 39
Location: Argentina
SiENcE wrote:
Custom?

Is it a custom serverside gump? if so, please check if its correct.

How do I know?

_________________
http://ls-uo.localstrike.com.ar
http://www.localstrike.com.ar/gaming/ultimaonline/


Top
 Profile  
 
 Post subject:
PostPosted: Fri Aug 01, 2008 9:25 am 
Offline
iris2-developer
User avatar

Joined: Mon Aug 09, 2004 12:20 pm
Posts: 1431
The Stacktrace tells me, that the problem occours when you interact with a gump. So it's not really a elf bow problem, it's more a gump problem ... esp. the y value of the SetDimensions(x,y) parameter is NIL. This means, that there is no y value in the gump (or maybe wrong).

So you have to check this on the servercode of your shard. You can post a ticket and append the elf bow items (if you have runuo you have a *.cs file for that).


Top
 Profile  
 
 Post subject:
PostPosted: Fri Aug 01, 2008 6:05 pm 
Offline
User avatar

Joined: Fri Jan 25, 2008 7:11 pm
Posts: 39
Location: Argentina
SiENcE wrote:
The Stacktrace tells me, that the problem occours when you interact with a gump. So it's not really a elf bow problem, it's more a gump problem ... esp. the y value of the SetDimensions(x,y) parameter is NIL. This means, that there is no y value in the gump (or maybe wrong).

So you have to check this on the servercode of your shard. You can post a ticket and append the elf bow items (if you have runuo you have a *.cs file for that).

Code:
using System;
using Server;

namespace Server.Items
{
   public class LightBow : CompositeBow
   {
      public override int ArtifactRarity{ get{ return 11; } }

      public override int InitMinHits{ get{ return 255; } }
      public override int InitMaxHits{ get{ return 255; } }

      [Constructable]
      public LightBow()
      {
         Hue = 1154;
         Name = "A bow of Light";
         Attributes.WeaponSpeed = 40;
         Attributes.WeaponDamage = 50;
         Attributes.CastSpeed = 2;
         WeaponAttributes.HitLightning = 30;
         Attributes.SpellChanneling = 1;
      }


      public LightBow( Serial serial ) : base( serial )
      {
      }

      public override void Serialize( GenericWriter writer )
      {
         base.Serialize( writer );

         writer.Write( (int) 0 );
      }
      
      public override void Deserialize(GenericReader reader)
      {
         base.Deserialize( reader );

         int version = reader.ReadInt();
      }
   }
}
I dont think if this is the bug. But check it here, because Im not wearing it but I cannot logon my admin. By de way I was wearing a normal knife and I got the same bug.

_________________
http://ls-uo.localstrike.com.ar
http://www.localstrike.com.ar/gaming/ultimaonline/


Top
 Profile  
 
 Post subject:
PostPosted: Fri Aug 01, 2008 9:55 pm 
Offline
User avatar

Joined: Fri Jan 25, 2008 7:11 pm
Posts: 39
Location: Argentina
Well, it's working now. I have to had to remove ogre.cfg after remove the weaps that I was wearing on.

_________________
http://ls-uo.localstrike.com.ar
http://www.localstrike.com.ar/gaming/ultimaonline/


Top
 Profile  
 
 Post subject:
PostPosted: Fri Aug 01, 2008 10:05 pm 
Offline
iris2-developer
User avatar

Joined: Tue Apr 18, 2006 10:28 pm
Posts: 823
Location: Munich, Bavaria, Germany
i think it's the paperdoll-image of the weapon that's causing problems, looks like the id wasn't found or failed to load,
local w,h = GetGumpSize(iGumpID) returned nil for width and height.
EDIT : i just added a warning and a dummy size so it doesn't crash the whole client, please try with the bow again, and post the output here, you probably won't see it, but at least it shouldn't crash the whole client, and there should be a warning giving the gumpid, so we can test later.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Aug 02, 2008 3:37 am 
Offline
User avatar

Joined: Fri Jan 25, 2008 7:11 pm
Posts: 39
Location: Argentina
ghoulsblade wrote:
i think it's the paperdoll-image of the weapon that's causing problems, looks like the id wasn't found or failed to load,
local w,h = GetGumpSize(iGumpID) returned nil for width and height.
EDIT : i just added a warning and a dummy size so it doesn't crash the whole client, please try with the bow again, and post the output here, you probably won't see it, but at least it shouldn't crash the whole client, and there should be a warning giving the gumpid, so we can test later.

Code:
:: Sat Aug 02 00:17:27 2008

LuaError
error running function `Main': ..//lugre/lua/lib.util.lua:418: attempt to compare number with nil
LuaStackTrace:

   ..//lugre/lua/lib.util.lua:418: in function `texsize'
   ..//lua/gui/gui.gumpmaker.lua:158: in function `MakeBorderGumpPart'
   ..//lua/gui/gui.paperdoll.lua:253: in function <..//lua/gui/gui.paperdoll.lua:219>
   ..//lua/gui/gui.paperdoll.lua:391: in function `RebuildPaperdoll'
   ..//lua/obj/obj.mobile.lua:159: in function `Update'
   ..//lua/obj/obj.mobile.lua:110: in function `UpdateContent'
   ..//lua/obj/obj.container.lua:35: in function `AddContentObject'
   ..//lua/obj/obj.dynamic.lua:187: in function `SetContainer'
   ..//lua/obj/obj.dynamic.lua:136: in function `Update'
   ..//lua/obj/obj.dynamic.lua:70: in function `CreateOrUpdateDynamic'
   ..//lua/obj/obj.container.lua:117: in function `HandleEquipItem'
   ..//lua/net/net.dynamic.lua:19: in function `handler'
   ..//lua/lib.protocol.lua:73: in function `HandlePackets'
   ..//lua/lib.net.lua:91: in function `NetStep'
   ..//lua/main.lua:396: in function `MainStep'
   ..//lua/main.lua:352: in function <..//lua/main.lua:276>
..\lugre\src\lugre_main.cpp:182:Lugre::Lugre_Run
..\lugre\src\lugre_game.cpp:19:Lugre::cGame::Run
  ..\lugre\src\lugre_scripting.cpp:263:Lugre::cScripting::LuaCall
   ..\lugre\src\lugre_scripting.cpp:209:Lugre::LuaErrorHandler
PrintLuaStackTrace:
LuaStackTrace:

haha.. It made me crash again, and I can tell you something more:
I saw on paperdoll a title of my char, that wasn't before. And the sentence exceeds the paperdoll. I mean, it not continues in the second line.

_________________
http://ls-uo.localstrike.com.ar
http://www.localstrike.com.ar/gaming/ultimaonline/


Top
 Profile  
 
 Post subject:
PostPosted: Sat Aug 02, 2008 9:04 am 
Offline
iris2-developer
User avatar

Joined: Mon Aug 09, 2004 12:20 pm
Posts: 1431
the name is ok, we don't have coded a linebreak yet for the paperdoll name. it's no bug, its a feature request :).

i added the lightbow to my runuo and tryed it. it work fine for me. so it must be another problem. :-/

Image


Top
 Profile  
 
 Post subject:
PostPosted: Sat Aug 02, 2008 6:14 pm 
Offline
User avatar

Joined: Fri Jan 25, 2008 7:11 pm
Posts: 39
Location: Argentina
I have to had a title of Champion killer on, and karma and skill title so it was too long I think.
I did put Fame Karma = 0 and Show title of Champion Killer=off. Now it work fine. But my char cannot wear weapon because it make me crash anyway.

_________________
http://ls-uo.localstrike.com.ar
http://www.localstrike.com.ar/gaming/ultimaonline/


Top
 Profile  
 
 Post subject:
PostPosted: Sun Aug 03, 2008 1:06 am 
Offline
iris2-developer
User avatar

Joined: Tue Apr 18, 2006 10:28 pm
Posts: 823
Location: Munich, Bavaria, Germany
ok, i changed something, please update and try again.

if theres's some line like

WARNING ! MakeBorderGumpPart : GetGumpSize = nil for id: 1234

shortly over the error, please poste that as well.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 32 posts ]  Go to page 1, 2, 3  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group