Cretino Posted January 25, 2020 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 50 Reputation: 39 Joined: 01/13/12 Last Seen: April 19, 2023 Share Posted January 25, 2020 (edited) Hey guys, how are you doing? I've seen some scripts similar, but nothing like this. This is my version of this event, 'Crack The Code'. Description: Spoiler The NPC spawn in a random map and you need to find it and crack the code showing in the waiting room, to crack the code you need to digit the password of waiting room, (Need source modification to waiting room have password with NPCs.) if the player crack the password, he will win the prizes. Video showing how the script works: Crack The Code V1.1 Some changes were made after this video. Features: Spoiler Configurations in script: Spoiler - GameMaster access level to configure and/or start/stop the event. - Show the right waiting room password in chat for testing purposes. - Set default values: When you erase some configuration and the map-server reload the default values configured are set. - Auto start event time. - Option to choose a 'Default Setup' (Configured inside the script.) or 'Personalized Setup' (Configured in-game.) when start the event manually. (Auto start events uses 'Personalized Setup' only.) - Option to not repeat the latest event map used. (Only work if have more than one map. The latest map will be reset if the event be forced to stop.) Configurations in-game: Spoiler - Set how many winners can have in one execution. - If set more than one winner, can set if can have the same winner in the same execution. - Set the size of waiting room password. (Minimum: 3, Maximum: 8) - Maps for start the event. (Add maps, remove and modify.) - Prizes for the event. (Add items, remove and modify. Items and amount.) - How many prizes one winner can have. (If not set all prizes, the player receive the quantity of random prizes.) - Event duration. (Values in milliseconds, Minimum time = '60 seconds' = '60 * 1000') Other things: Spoiler - To configure and/or start the event, use the command '@ctc'. - The auto start event can't be init when is configuring the script. - The event can't be configured when the same is already start. - GameMasters can start and stop the event when they want. - When map-server reload, the event is stopped if is execution. - Players can participate the event using the command '@ctc' to go to the event map (Random coordinates.) when the event start. (If the player is already in the map, he can't move again to the event map using the command.) - The latest map of player is saved when using the command '@ctc' to send him back when event end or if event only accept one winner per execution. - If the player entered in the event using the command '@ctc' and logout before the end, he will moved to the latest map. - The event have 10 minutes to be completed. (When reaches 5 minutes, the NPC send a announce showing ONE coordinate to find it, like (X: 145, Y: ???) or (X: ???, Y: 187)) - When one player win the event, if configured to have more than one winner, the NPC generates a new waiting room password and move to other place in the same map. - The NPC announces the winner and show the latest right code used to enter in the waiting room. - If configured to not have the same winner and one player who already won and try to crack the code again in the same execution, the NPC will announce can't participate again and he can't move again to the event map using the command '@ctc'. - The password generated by the NPC are random using a code table configured in the script. - The code shown in the waiting room is shuffed. (Depending of the size of the password, the shuffed code can be equal of the right code.) - The event only start if all configurations is right. (Maps, prizes, code size and how many winners.) I have one 'limited' version what I want to share with you guys. crack_the_code_v1.0_rathena.txt Limitations of this version: Spoiler - Can have only one winner. - The waiting room has no password. - You can configure only one prize to winner. - The event can't start automatically. (Only GameMasters can start the event using the command '@ctc') - Need reload the script always you change some configuration. (Maps, prize and amount, size of password) - To crack the code, players need enter in the waiting room and digit the code in the chat. - Has a limit of players who can enter in the waiting room. - Players can't move to the map event using the command '@ctc'. - Has no security in the script to start the event if any configuration is wrong. I'm accepting suggestions. (I'll not make changes in limited version) Sorry for my english and thank you for the attention. I hope you guys like. Special thanks to @Radian, for helping me with feedback and support me. Edited January 26, 2020 by Cretino More features incremented. 2 2 Quote Link to comment Share on other sites More sharing options...
Radian Posted January 25, 2020 Group: Members Topic Count: 162 Topics Per Day: 0.04 Content Count: 1546 Reputation: 192 Joined: 07/23/14 Last Seen: June 24, 2024 Share Posted January 25, 2020 It's pretty neat and good script, dont doubt this guy he is good. 1 Quote Link to comment Share on other sites More sharing options...
Hale Posted February 28, 2020 Group: Members Topic Count: 12 Topics Per Day: 0.01 Content Count: 38 Reputation: 1 Joined: 02/23/20 Last Seen: March 22, 2020 Share Posted February 28, 2020 @Cretino, Your script was awesome.. I can see it. But how do I crack the room? What's the conversion between letters to number? I can't seem to crack the code. Thank you! Quote Link to comment Share on other sites More sharing options...
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.