Giter Site home page Giter Site logo

Comments (4)

JoeInch avatar JoeInch commented on July 30, 2024

I have investigated a little further and found a possible solution in db.lua line 316. It should read instead: local size = GetBagSize(bag) or 0 that change causes a) equipped items appear in the list b) a side effect which does not show the items for some chars anymore.
I believe the function GetItemCount is called from different places and the two different versions are needed for the different calls. My hope is, that you can point out the error right away since I am not that good in programming LUA.
My first assumption with the 'e' bag type could not be confirmed.
Many thanks
Joe

from bagnon.

Jaliborc avatar Jaliborc commented on July 30, 2024

Fixed on development version

from bagnon.

JoeInch avatar JoeInch commented on July 30, 2024

Hola João,
many thanks for looking into this.

Had you seen my second post about the display of equipped items?
As I wrote, I have solved that by duplicating the function and putting GetBagSize in Version 2.
Version 2 works perfect for equipped items, and the original for bags. But not vice versa.
I'll buy me a book for LUA programming .... but these side effects seem very strange to me.
Many thanks
Hasta luego
Reinhard

-----Ursprüngliche Nachricht-----
Von: João Libório Cardoso [mailto:[email protected]]
Gesendet: Dienstag, 1. November 2011 17:27
An: Griedelbach, Reinhard
Betreff: Re: [Bagnon] Total sum of items for all chars on server (#45)

Fixed on development version

Reply to this email directly or view it on GitHub:
#45 (comment)
Dell GmbH, Geschäftsanschrift/business address: Unterschweinstiege 10, 60549 Frankfurt am Main, Germany
Geschäftsführer: Mark Möbius, Barbara Wittmann, Jürgen Wilhelm Renz
Sitz: Frankfurt am Main, eingetragen beim Amtsgericht Frankfurt am Main unter HRB 75453
USt.-ID: DE113541138, WEEE-Reg.Nr.: DE 49515708

from bagnon.

Jaliborc avatar Jaliborc commented on July 30, 2024

It doesn't really matters, as the Bagnon_Forever and Bagnon_Tooltips have been completely replaced.

from bagnon.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.