Chuckleberry-Finn / pz-shops

GNU Affero General Public License v3.0
1 stars 4 forks source link

Issues with initial release of player-shops #10

Closed CarlosEZS closed 1 year ago

CarlosEZS commented 1 year ago

-snip

Chuckleberry-Finn commented 1 year ago

Wallet Issues:

No-Wallet Issues:

Shop-Managing:

Players-Shop:

Chuckleberry-Finn commented 1 year ago

Cleaning up the thread for sharing purposes, almost done with the tasks currently set.

CarlosEZS commented 1 year ago

Just want to add an issue with authentic Z. If you make the craft with the money (don't remember the name) you can make infinite money when you craft it back into vanillia money. Don't know if it's a Authentic Z error or Shop and Trader.

Chuckleberry-Finn commented 1 year ago

First pass: https://github.com/ChuckTheSheep/pz-shops/commit/53e54c106369c71c329556a0ef2be586c64e421a

alf2812 commented 1 year ago

getting this error code whenever trying to make a new shop. My existing shops still work, but nothing can be added.

attempted index: ownerID of non-table: false function: initialise -- file: shop-window.lua line # 490 | MOD: Shops and Traders function: onBrowse -- file: shop-window.lua line # 1651 | MOD: Shops and Traders function: browseStore -- file: shop-contextMenu.lua line # 11 | MOD: Shops and Traders function: onMouseUp -- file: ISContextMenu.lua line # 90 | Vanilla java.lang.RuntimeException: attempted index: ownerID of non-table: false at se.krka.kahlua.vm.KahluaThread.tableget(KahluaThread.java:1689) at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:492) at se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:163) at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1980) at se.krka.kahlua.vm.KahluaThread.pcallBoolean(KahluaThread.java:1924) at se.krka.kahlua.integration.LuaCaller.protectedCallBoolean(LuaCaller.java:104) at zombie.ui.UIElement.onMouseUp(UIElement.java:1228) at zombie.ui.UIManager.update(UIManager.java:816) at zombie.GameWindow.logic(GameWindow.java:262) at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71) at zombie.GameWindow.frameStep(GameWindow.java:765) at zombie.GameWindow.run_ez(GameWindow.java:667) at zombie.GameWindow.mainThread(GameWindow.java:495) at java.base/java.lang.Thread.run(Unknown Source)

Juggy

Chuckleberry-Finn commented 1 year ago

Thank you, this will be fixed now.

alf2812 commented 1 year ago
function: testCanScrap -- file: shop-disassembleProtection.lua line # 4 | MOD: Shops and Traders
function: getCanScrapInfoPanelDesc -- file: shop-disassembleProtection.lua line # 41 | MOD: Shops and Traders
function: getInfoPanelDescription -- file: shop-disassembleProtection.lua line # 58 | MOD: Shops and Traders
function: setInfoPanel -- file: ISMoveableCursor.lua line # 213 | Vanilla
function: isValid -- file: ISMoveableCursor.lua line # 379 | Vanilla
function: DoTileBuilding -- file: ISBuildingObject.lua line # 169 | Vanilla

-snip- java.lang.RuntimeException: attempted index: getModData of non-table: null -snip

Getting this error when trying to pick up certain paintings in the world, but not all of them.

Also when you get a minute (i know youre super busy with the player shop stuff) Would love for you to have a look at the inventory forcibly swapping whenever an item is dragged into it. Not a priority at all tho.

Thanks again chuck

Chuckleberry-Finn commented 1 year ago

Fixed here: 2ba24117ed6acb6e74ae8b53ee33088f6e39a7cf

Chuckleberry-Finn commented 1 year ago

15