ZelosAvalon 14 Posted October 13, 2016 I'm working on a system of daily rewards, which I will share with you when you finish, I would like to know how to add a button on a cuttin, for example:the image appears: but I only receive the reward if you click receive some1 can help me with it ? Quote Share this post Link to post Share on other sites
0 Aeromesi 180 Posted October 13, 2016 Not sure if it's possible without heavily modding the client right? 1 ZelosAvalon reacted to this Quote Share this post Link to post Share on other sites
0 ZelosAvalon 14 Posted October 13, 2016 (edited) Not sure if it's possible without heavily modding the client right? maybe if I put to click on the image, and I could put them apart, like this: Reward img without button button img for click button after click as it will appear at the end and after receiving the reward Edited October 13, 2016 by ZelosAvalon Quote Share this post Link to post Share on other sites
0 rokimoki 19 Posted October 13, 2016 (edited) The easiest way is to make a cutin with 'click in menu to receive' and another with 'received', and of course a menu that says 'receive'. I know that is not what you want but... that's the best I can tell so far. Another best option to make a big cutin with all rewards and remarked with the which one correspond today if you are available to get it, and click in the menu 'receive reward'. PS: If you are good enough to make this script why wouldn't you make the simple sql query to know the "top 10" of t_event_points? xd EDIT: *cutin("<filename>", <position>) This command will display a picture, usually an NPC illustration, also called cutin, for the currently attached client. The position parameter determines the placement of the illustration and takes following values: 0 - bottom left corner 1 - bottom middle 2 - bottom right corner 3 - middle of screen in a movable window with an empty title bar 4 - middle of screen without the window header, but still movable The picture is read from data\texture\유저인터페이스\illust, from both the GRF archive and data folder, and is required to be a bitmap. The file extension .bmp can be omitted. Magenta color (#ff00ff) is considered transparent. There is no limit placed on the size of the illustrations by the client, although loading of large pictures (about 700x700 and larger) causes the client to freeze shortly (lag). Typically the size is about 320x480. New illustrations can be added by just putting the new file into the location above. The client is able to display only one cutin at the same time and each new one will cause the old one to disappear. To delete the currently displayed illustration without displaying a new one, an empty file name and position 255 must be used. // Displays the Comodo Kafra illustration in lower right corner. cutin("kafra_07", 2); // Typical way to end a script, which displayed an illustration during a // dialog with a player. mes("See you."); close2(); cutin("", 255); end; Edited October 13, 2016 by rokimoki Quote Share this post Link to post Share on other sites
0 ZelosAvalon 14 Posted October 14, 2016 (edited) The easiest way is to make a cutin with 'click in menu to receive' and another with 'received', and of course a menu that says 'receive'. I know that is not what you want but... that's the best I can tell so far. Another best option to make a big cutin with all rewards and remarked with the which one correspond today if you are available to get it, and click in the menu 'receive reward'. PS: If you are good enough to make this script why wouldn't you make the simple sql query to know the "top 10" of t_event_points? xd EDIT: *cutin("<filename>", <position>) This command will display a picture, usually an NPC illustration, also called cutin, for the currently attached client. The position parameter determines the placement of the illustration and takes following values: 0 - bottom left corner 1 - bottom middle 2 - bottom right corner 3 - middle of screen in a movable window with an empty title bar 4 - middle of screen without the window header, but still movable The picture is read from data\texture\유저인터페이스\illust, from both the GRF archive and data folder, and is required to be a bitmap. The file extension .bmp can be omitted. Magenta color (#ff00ff) is considered transparent. There is no limit placed on the size of the illustrations by the client, although loading of large pictures (about 700x700 and larger) causes the client to freeze shortly (lag). Typically the size is about 320x480. New illustrations can be added by just putting the new file into the location above. The client is able to display only one cutin at the same time and each new one will cause the old one to disappear. To delete the currently displayed illustration without displaying a new one, an empty file name and position 255 must be used. // Displays the Comodo Kafra illustration in lower right corner. cutin("kafra_07", 2); // Typical way to end a script, which displayed an illustration during a // dialog with a player. mes("See you."); close2(); cutin("", 255); end; I'm good to work with designers, but scripts I still have a lot to learn! I have many ideas, but lack knowledge to apply them! I will follow your advice, and do some tests with cuttins, i have some ideas in my mind! PS: About sql query (t_event_points), I was a long time without working with ragnarok scripts and sql I'm learning that period in college, before that I never needed to work with sql, always had a variable like #points, but when I tried to create a ranking I saw it would be a better option learn how to work with sQL, and you helped me a lot! xP tyvm Edited October 14, 2016 by ZelosAvalon Quote Share this post Link to post Share on other sites
0 rokimoki 19 Posted October 14, 2016 The easiest way is to make a cutin with 'click in menu to receive' and another with 'received', and of course a menu that says 'receive'. I know that is not what you want but... that's the best I can tell so far. Another best option to make a big cutin with all rewards and remarked with the which one correspond today if you are available to get it, and click in the menu 'receive reward'. PS: If you are good enough to make this script why wouldn't you make the simple sql query to know the "top 10" of t_event_points? xd EDIT: *cutin("<filename>", <position>) This command will display a picture, usually an NPC illustration, also called cutin, for the currently attached client. The position parameter determines the placement of the illustration and takes following values: 0 - bottom left corner 1 - bottom middle 2 - bottom right corner 3 - middle of screen in a movable window with an empty title bar 4 - middle of screen without the window header, but still movable The picture is read from data\texture\유저인터페이스\illust, from both the GRF archive and data folder, and is required to be a bitmap. The file extension .bmp can be omitted. Magenta color (#ff00ff) is considered transparent. There is no limit placed on the size of the illustrations by the client, although loading of large pictures (about 700x700 and larger) causes the client to freeze shortly (lag). Typically the size is about 320x480. New illustrations can be added by just putting the new file into the location above. The client is able to display only one cutin at the same time and each new one will cause the old one to disappear. To delete the currently displayed illustration without displaying a new one, an empty file name and position 255 must be used. // Displays the Comodo Kafra illustration in lower right corner. cutin("kafra_07", 2); // Typical way to end a script, which displayed an illustration during a // dialog with a player. mes("See you."); close2(); cutin("", 255); end; I'm good to work with designers, but scripts I still have a lot to learn! I have many ideas, but lack knowledge to apply them! I will follow your advice, and do some tests with cuttins, i have some ideas in my mind! PS: About sql query (t_event_points), I was a long time without working with ragnarok scripts and sql I'm learning that period in college, before that I never needed to work with sql, always had a variable like #points, but when I tried to create a ranking I saw it would be a better option learn how to work with sQL, and you helped me a lot! xP tyvm I understand, back in time I did my ranking with #vars and a sort method I did, but sql is easier and more powerful, and machines (servers) today are very powerful too and cheap. 1 ZelosAvalon reacted to this Quote Share this post Link to post Share on other sites
0 Eternity 1 Posted October 15, 2016 Any news? @ZelosAvalon Quote Share this post Link to post Share on other sites
0 ZelosAvalon 14 Posted October 16, 2016 Any news? @ZelosAvalon working... [uPDATE] I'm working on it now, now just need to confirm the password, because I'm having some mistakes, I'm working on this code: RewardSystem this code was for rathena emulator and i got some errors when try to modify to hercules, if someone wants to help me, i'll share the system when i finish with PSD. NEXT> PS: images may change, this was one of the thousands of ideas that I have! Quote Share this post Link to post Share on other sites
0 Eternity 1 Posted October 16, 2016 Any news? @ZelosAvalon working... [uPDATE] I'm working on it now, now just need to confirm the password, because I'm having some mistakes, I'm working on this code: RewardSystem this code was for rathena emulator and i got some errors when try to modify to hercules, if someone wants to help me, i'll share the system when i finish with PSD. NEXT> PS: images may change, this was one of the thousands of ideas that I have! Wow impressive! mate are you able to share the PSD? Quote Share this post Link to post Share on other sites
0 ZelosAvalon 14 Posted October 17, 2016 Any news? @ZelosAvalon working... [uPDATE] I'm working on it now, now just need to confirm the password, because I'm having some mistakes, I'm working on this code: RewardSystem this code was for rathena emulator and i got some errors when try to modify to hercules, if someone wants to help me, i'll share the system when i finish with PSD. NEXT> PS: images may change, this was one of the thousands of ideas that I have! Wow impressive! mate are you able to share the PSD? yes I'll, I'm finishing some adjustments and will share it soon! Quote Share this post Link to post Share on other sites
0 bWolfie 138 Posted October 17, 2016 wow good luck sir. i dont have interest in daily rewards myself, but looks cool. Quote Share this post Link to post Share on other sites
0 rokimoki 19 Posted October 18, 2016 this looks so cool, I am a disaster in graphic designing xD Quote Share this post Link to post Share on other sites
0 Mystery 594 Posted October 18, 2016 Looking good there! Maybe when you're done, we can also share it on MC? Quote Share this post Link to post Share on other sites
0 ZelosAvalon 14 Posted October 19, 2016 (edited) Looking good there! Maybe when you're done, we can also share it on MC? new release: I'll share, so I finished, I'm just testing the functionality with the script, i use an script made for rathena, if someone wants to help to merge to Hercules this script: Daily_Reward_System excuse my lack of information, but what is MC? Edited October 19, 2016 by ZelosAvalon Quote Share this post Link to post Share on other sites
0 bWolfie 138 Posted October 19, 2016 is midgard community 1 ZelosAvalon reacted to this Quote Share this post Link to post Share on other sites
0 ZelosAvalon 14 Posted October 19, 2016 is midgard community OW, yes i'll share it on MC, I already divulged some of my items there! and more will come soon! Quote Share this post Link to post Share on other sites
0 bWolfie 138 Posted October 19, 2016 More power to you Zelos! So jealous of your skills haha. Hope you can keep improving your scripting skills so you can be an all-in-one 1 ZelosAvalon reacted to this Quote Share this post Link to post Share on other sites
0 ZelosAvalon 14 Posted October 19, 2016 More power to you Zelos! So jealous of your skills haha. Hope you can keep improving your scripting skills so you can be an all-in-one thank you very much! Quote Share this post Link to post Share on other sites
0 ZelosAvalon 14 Posted October 20, 2016 (edited) Released: midgard-community PS: when I get a code that works with hercules i'll share here along with the code, for now I'm working on it, just the illust's were released @Mysterious @rokimoki @Eternity @True Zeal Edited October 20, 2016 by ZelosAvalon Quote Share this post Link to post Share on other sites
0 rokimoki 19 Posted October 20, 2016 Released: midgard-community PS: when I get a code that works with hercules i'll share here along with the code, for now I'm working on it, just the illust's were released @Mysterious @rokimoki @Eternity @True Zeal Sorry, there is a problem We could not locate the item you are trying to view. Error code: 2D161/2 Quote Share this post Link to post Share on other sites
0 ZelosAvalon 14 Posted October 20, 2016 Released: midgard-community PS: when I get a code that works with hercules i'll share here along with the code, for now I'm working on it, just the illust's were released @Mysterious @rokimoki @Eternity @True Zeal Sorry, there is a problemWe could not locate the item you are trying to view. Error code: 2D161/2 hmm ? the error occurred when you try to open the link or download? Here's working normally! Quote Share this post Link to post Share on other sites
0 Eternity 1 Posted October 20, 2016 Isn't working would be great you can attach those images and script? and btw? why not using the Daily Rewards Latest script?The last version was 1.7B https://github.com/Stolao/Npc_Release/blob/master/Daily_Reward/DailyReward.txtOld revision script was buggy. it would be great you can update too. Quote Share this post Link to post Share on other sites
0 ZelosAvalon 14 Posted October 20, 2016 (edited) Isn't working would be great you can attach those images and script? and btw? why not using the Daily Rewards Latest script? The last version was 1.7B https://github.com/Stolao/Npc_Release/blob/master/Daily_Reward/DailyReward.txt Old revision script was buggy. it would be great you can update too. I need to know what isn't working, the download? and note i only share the psd for illust's i'm still working on script, cuz this script is for rathena Edited October 20, 2016 by ZelosAvalon Quote Share this post Link to post Share on other sites
0 Eternity 1 Posted October 20, 2016 Isn't working would be great you can attach those images and script? and btw? why not using the Daily Rewards Latest script? The last version was 1.7B https://github.com/Stolao/Npc_Release/blob/master/Daily_Reward/DailyReward.txt Old revision script was buggy. it would be great you can update too. I need to know what isn't working, the download? and note i only share the psd for illust's i'm still working on script, cuz this script is for rathena Where's the PSD? Quote Share this post Link to post Share on other sites
0 ZelosAvalon 14 Posted October 21, 2016 Isn't working would be great you can attach those images and script? and btw? why not using the Daily Rewards Latest script? The last version was 1.7B https://github.com/Stolao/Npc_Release/blob/master/Daily_Reward/DailyReward.txt Old revision script was buggy. it would be great you can update too. I need to know what isn't working, the download? and note i only share the psd for illust's i'm still working on script, cuz this script is for rathena Where's the PSD? PSD here: https://www.midgard-community.com/forums/files/file/341-ragnarok-online-daily-reward/ Quote Share this post Link to post Share on other sites
0 Eternity 1 Posted October 21, 2016 Isn't working would be great you can attach those images and script? and btw? why not using the Daily Rewards Latest script? The last version was 1.7B https://github.com/Stolao/Npc_Release/blob/master/Daily_Reward/DailyReward.txt Old revision script was buggy. it would be great you can update too. I need to know what isn't working, the download? and note i only share the psd for illust's i'm still working on script, cuz this script is for rathena Where's the PSD? PSD here: https://www.midgard-community.com/forums/files/file/341-ragnarok-online-daily-reward/ Sorry, there is a problem We could not locate the item you are trying to view. Error code: 2D161/2 Contact Us Kindly please, post an attachement here instead posting at the Midgard-Community? Quote Share this post Link to post Share on other sites
I'm working on a system of daily rewards, which I will share with you when you finish, I would like to know how to add a button on a cuttin, for example:
the image appears:
but I only receive the reward if you click receive
some1 can help me with it ?
Share this post
Link to post
Share on other sites