Iris2.de
http://iris2.de/forum/

I can't make my Iris2 Client working
http://iris2.de/forum/viewtopic.php?f=15&t=1221
Page 1 of 3

Author:  Admin Nora [ Thu Jul 31, 2008 2:23 am ]
Post subject:  I can't make my Iris2 Client working

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

Author:  hagish [ Thu Jul 31, 2008 10:38 am ]
Post subject: 

i just added some additional checks in the unstable version.
can you please update unstable and try again?

Author:  Admin Nora [ Thu Jul 31, 2008 12:39 pm ]
Post subject: 

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..

Author:  SiENcE [ Thu Jul 31, 2008 5:21 pm ]
Post subject: 

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.

Author:  Admin Nora [ Thu Jul 31, 2008 5:33 pm ]
Post subject: 

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

Author:  SiENcE [ Thu Jul 31, 2008 7:06 pm ]
Post subject: 

Custom?

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

Author:  Admin Nora [ Fri Aug 01, 2008 12:22 am ]
Post subject: 

SiENcE wrote:
Custom?

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

How do I know?

Author:  SiENcE [ Fri Aug 01, 2008 9:25 am ]
Post subject: 

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).

Author:  Admin Nora [ Fri Aug 01, 2008 6:05 pm ]
Post subject: 

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.

Author:  Admin Nora [ Fri Aug 01, 2008 9:55 pm ]
Post subject: 

Well, it's working now. I have to had to remove ogre.cfg after remove the weaps that I was wearing on.

Author:  ghoulsblade [ Fri Aug 01, 2008 10:05 pm ]
Post subject: 

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.

Author:  Admin Nora [ Sat Aug 02, 2008 3:37 am ]
Post subject: 

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.

Author:  SiENcE [ Sat Aug 02, 2008 9:04 am ]
Post subject: 

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

Author:  Admin Nora [ Sat Aug 02, 2008 6:14 pm ]
Post subject: 

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.

Author:  ghoulsblade [ Sun Aug 03, 2008 1:06 am ]
Post subject: 

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.

Page 1 of 3 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/