![]() |
Chessboard, checkers, dice and backgammon - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: General Discussion (/Forum-General-Discussion) +--- Forum: UO/Sphere Discussion (/Forum-UO-Sphere-Discussion) +--- Thread: Chessboard, checkers, dice and backgammon (/Thread-Chessboard-checkers-dice-and-backgammon) |
Chessboard, checkers, dice and backgammon - Non-GMO - 08-11-2017 06:08 AM Hello everybody! I have always found the above-mentioned games to be a very nice touch to UO. But I cannot open the chessboard with Sphere 56c. The dice are not working either. Does anyone know why? Thanks. RE: Chessboard, checkers, dice and backgammon - darksun84 - 08-11-2017 11:29 PM No idea, if i try to click a chessboard the client crash (client 7.058.12) RE: Chessboard, checkers, dice and backgammon - Coruja - 08-12-2017 09:28 AM Taking a quick look at the code I found that items with type=t_game_board open its gump (TDATA2) when DClicked, but on default script pack the items i_checkerboard / i_chessboard (items/sphere_item_misc.scp) doesnt have TDATA2 set. So you just need to add TDATA2=091a on these items to make it open the gump 091a RE: Chessboard, checkers, dice and backgammon - Non-GMO - 08-12-2017 10:58 PM Thanks for the answers. It works again for the checks and the chess. The backgammon was already working. Remains just the dice and the mahjong (+ the darts?) I wonder whether there is any reset command for the pawns. Where I come from, I saw everybody moving to using a server different from Sphere. But somehow, I prefer much more Sphere's gameplay. RE: Chessboard, checkers, dice and backgammon - Coruja - 08-13-2017 04:32 AM I found the 'i_dice_cup' problem, the script was calling the function EMOTELOC which doesn't exist. You just need to open sphere_item_unsorted.scp and change the line Code: SRC.EMOTELOC -1,3,1062695,<SRC.NAME>,<R1,6>,<R1,6> Code: SRC.EMOTE rolls the dice and gets a <R1,6> and a <R1,6>! but unfortunately the mahjong will be a bit difficult to make it work because it will require an huge rework to add many new functions/packets currently missing on sphere, and honestly it's not our priority spend this huge time for just an game board item, but maybe someday we can do it lol ![]() |