Unless boy Posted March 12, 2018 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 4 Reputation: 0 Joined: 12/19/17 Last Seen: March 15, 2018 Share Posted March 12, 2018 Hi, I would like to know how I can put the sales balloon on top of npc, just like this Quote Link to comment Share on other sites More sharing options...
0 Haikenz Posted March 13, 2018 Group: Members Topic Count: 84 Topics Per Day: 0.02 Content Count: 309 Reputation: 82 Joined: 11/15/11 Last Seen: October 1, 2023 Share Posted March 13, 2018 (edited) 8 hours ago, Cyro said: try this prontera,150,150,4 script Shop 861,{ OnVendingClick: callshop( "rathena", 1 ); end; OnInit: showvend( "Shop", 1, "rAthena" ); end; } - shop rathena -1,512:-1 ShowVend.zip Errors fixed while compiling: Script.cpp clif_showvendingboard( &nd->bl, buf, 0 ); Change to: clif_showvendingboard( &nd->bl, (const char*)buf, 0 ); Vendings.cpp if( nd_sd->subtype == CASHSHOP ) //Act as if it was clicked npc_click( sd, nd_sd ); if( nd_sd->subtype == SHOP ) //Open Buy-Windows directly npc_buysellsel( sd, nd_sd->bl.id, 0 ); if( nd_sd->subtype == SCRIPT ) { //Trigger OnVendingClick event Change to: if( nd_sd->subtype == NPCTYPE_CASHSHOP ) //Act as if it was clicked npc_click( sd, nd_sd ); if( nd_sd->subtype == NPCTYPE_SHOP ) //Open Buy-Windows directly npc_buysellsel( sd, nd_sd->bl.id, 0 ); if( nd_sd->subtype == NPCTYPE_SCRIPT ) { //Trigger OnVendingClick event Edited March 13, 2018 by Popcorn 1 2 1 Quote Link to comment Share on other sites More sharing options...
0 Cyro Posted March 12, 2018 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 1138 Reputation: 290 Joined: 04/29/13 Last Seen: July 20, 2024 Share Posted March 12, 2018 Wrong section. Moved to "Source Support". try this prontera,150,150,4 script Shop 861,{ OnVendingClick: callshop( "rathena", 1 ); end; OnInit: showvend( "Shop", 1, "rAthena" ); end; } - shop rathena -1,512:-1 ShowVend.zip 1 Quote Link to comment Share on other sites More sharing options...
0 Unless boy Posted March 12, 2018 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 4 Reputation: 0 Joined: 12/19/17 Last Seen: March 15, 2018 Author Share Posted March 12, 2018 (edited) I downloaded tortoiseSVN, but I do not know how to use , ---------------Detectar idiomaAfricânerAlbanêsAlemãoAmáricoÁrabeArmênioAzerbaijanoBascoBengaliBielorrussoBirmanêsBósnioBúlgaroCanarimCatalãoCazaqueCebuanoChinês (simplificado)Chinês (tradicional)CingalêsCoreanoCorsoCroataCurdoDinamarquêsEslovacoEslovenoEspanholEsperantoEstonianoFilipinoFinlandêsFrancêsFrísio ocidentalGaélico escocêsGalegoGalêsGeorgianoGregoGuzerateHaitianoHauçáHavaianoHebraicoHíndiHmongHolandêsHúngaroIgboIídicheIndonésioInglêsIorubáIrlandêsIslandêsItalianoJaponêsJavanêsKhmerLaosianoLatimLetãoLituanoLuxemburguêsMacedônioMalaialaMalaioMalgaxeMaltêsMaoriMaratiMongolNepalêsNianjaNorueguêsPanjabiPashtoPersaPolonêsPortuguêsQuirguizRomenoRussoSamoanoSérvioSindiSomaliSoto do sulSuaíliSuecoSundanêsTadjiqueTailandêsTâmilTchecoTélugoTurcoUcranianoUrduUzbequeVietnamitaXhosaXonaZuluPortuguês I can do it manually? , in the current rathena the files are in .hpp and .cpp, can I change the showvend to this? its not working .-. resolved, can close this topic Edited March 12, 2018 by Unless boy Quote Link to comment Share on other sites More sharing options...
0 ittiphol Posted December 5, 2019 Group: Members Topic Count: 27 Topics Per Day: 0.01 Content Count: 115 Reputation: 7 Joined: 05/09/19 Last Seen: May 20, 2021 Share Posted December 5, 2019 On 3/13/2018 at 8:17 AM, Haikenz said: Errors fixed while compiling: Script.cpp clif_showvendingboard( &nd->bl, buf, 0 ); Change to: clif_showvendingboard( &nd->bl, (const char*)buf, 0 ); Vendings.cpp if( nd_sd->subtype == CASHSHOP ) //Act as if it was clicked npc_click( sd, nd_sd ); if( nd_sd->subtype == SHOP ) //Open Buy-Windows directly npc_buysellsel( sd, nd_sd->bl.id, 0 ); if( nd_sd->subtype == SCRIPT ) { //Trigger OnVendingClick event Change to: if( nd_sd->subtype == NPCTYPE_CASHSHOP ) //Act as if it was clicked npc_click( sd, nd_sd ); if( nd_sd->subtype == NPCTYPE_SHOP ) //Open Buy-Windows directly npc_buysellsel( sd, nd_sd->bl.id, 0 ); if( nd_sd->subtype == NPCTYPE_SCRIPT ) { //Trigger OnVendingClick event It's works fine Thank you ^^ Quote Link to comment Share on other sites More sharing options...
0 casper Posted May 6, 2020 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 38 Reputation: 2 Joined: 02/15/13 Last Seen: Friday at 04:40 PM Share Posted May 6, 2020 On 12/5/2019 at 6:59 PM, ittiphol said: It's works fine Thank you ^^ clif_showvendingboard( &nd->bl, buf, 0 ); No search Quote Link to comment Share on other sites More sharing options...
0 ittiphol Posted May 23, 2020 Group: Members Topic Count: 27 Topics Per Day: 0.01 Content Count: 115 Reputation: 7 Joined: 05/09/19 Last Seen: May 20, 2021 Share Posted May 23, 2020 If you vending by Job class you can't open shop it's notthing happen Quote Link to comment Share on other sites More sharing options...
Question
Unless boy
Hi, I would like to know how I can put the sales balloon on top of npc, just like this
Link to comment
Share on other sites
6 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.