Jump to content

Zell

Members
  • Posts

    410
  • Joined

  • Last visited

  • Days Won

    24

Everything posted by Zell

  1. Open a issue in github
  2. Would be nice to have a feature that track and show in console a variable for when we are making complex scripts. Sample: [email protected] = 0; trackvar("[email protected]"); mes "Now I will show this value " + [email protected]; next; [email protected]++; mes "Now I changed the var"; next; mes "Hmm, what value " + [email protected] + " had when passed here?"; close; Console Output: [DEBUG NPC_NAME / PLAYER ATTACHED_GID]: Tracking [email protected] > Value: 0 [DEBUG NPC_NAME / PLAYER_ATTACHED_GID]: [email protected] was required > Value: 0 [DEBUG NPC_NAME / PLAYER_ATTACHED_GID]: [email protected] was changed> Old Value: 0 / New Value: 1 [DEBUG NPC_NAME / PLAYER_ATTACHED_GID]: [email protected] was required > Value: 1 I think this would make it easier to develop or debug scripts, rather than every time you call it, creating visual texts (dispbottom/announce) to keep track of the variable
  3. Some effects the client use sprite and act, and other just str. If you find a effect that use a sprite and act, you can change this. But not add a new one without client edit
  4. It is client fault. The server fool the client sending player view data instead of npc. To talk with npc you have to hold shift and click
  5. You can get some idea by looking in SDE, too by Tokei. https://github.com/Tokeiburu/RagnarokSDE/tree/master/SDE
  6. He marked with a black square. And you op should search inside a npc file with OnPcLoginEvent
  7. Skill effects are hard coded in client and a lot of them aren't in .spr format.
  8. Ok, got it. Like Technoken sayed, just change [email protected] to @items. This will work, but still is a ugly approach. If you need a player to handle a setarray with a @ ou permanent variable you are making something wrong in your logic. If exists some situation which you need to make something like this, to create a new table is the go.
  9. To help you first, I need to understand. I can not understand your logic (since you're not passing the whole script). Does the player choose to use an item and then take the meteor stomer? choose "set super power", will do what?
  10. View File Simple DailyZell Hello everyone. I came this time to bring an old daily reward system that I did. Most of the daily reward systems are so complicated for no reason. The system draws every day (or each reload) an item from the list of rewards, which can be vip, cash or an item. Items that have already been drawn will only be drawn once the entire list has been drawn. //SQL and insert sample CREATE TABLE IF NOT EXISTS `daily_account` ( `aid` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; CREATE TABLE IF NOT EXISTS `daily` ( `id` int(2) NOT NULL, `type` int(3) NOT NULL, `value` int(10) NOT NULL, `take` int(2) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; INSERT INTO `daily` (`id`, `tipo`, `valor`, `take`) VALUES (1, 2, 1, 0), (2, 673, 1, 0), (3, 673, 3, 0), //ID: Daily ID //TYPE: 1 = Cash // 2 = Vip // 500+ = Item ID //VALUE: type 1 = Cash value // type 2 = Vip Day // type 3 = Item Quantity Submitter Zell Submitted 05/31/2018 Category Utilities Video Content Author Zell
  11. Version 1.0.0

    256 downloads

    Hello everyone. I came this time to bring an old daily reward system that I did. Most of the daily reward systems are so complicated for no reason. The system draws every day (or each reload) an item from the list of rewards, which can be vip, cash or an item. Items that have already been drawn will only be drawn once the entire list has been drawn. //SQL and insert sample CREATE TABLE IF NOT EXISTS `daily_account` ( `aid` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; CREATE TABLE IF NOT EXISTS `daily` ( `id` int(2) NOT NULL, `type` int(3) NOT NULL, `value` int(10) NOT NULL, `take` int(2) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; INSERT INTO `daily` (`id`, `tipo`, `valor`, `take`) VALUES (1, 2, 1, 0), (2, 673, 1, 0), (3, 673, 3, 0), //ID: Daily ID //TYPE: 1 = Cash // 2 = Vip // 500+ = Item ID //VALUE: type 1 = Cash value // type 2 = Vip Day // type 3 = Item Quantity
    Free
  12. The fault came from browedit. For the walkable gat you need to use this gat And for water you should use the green one with walkable text
  13. My Mistake. Add in npc.h after void npc_event_do_oninit(void); //Zell Duplicate int npc_event_export_2(struct npc_data *nd, int i); void npc_duplicate_2(struct npc_data *nd); int npc_timerevent_export(struct npc_data *nd, int i);
  14. Zell

    R > LOGO

    Hey, thanks for the return. So, I would love something similar (if possible) It may be even simples, but being in the sama concept
  15. Zell

    R > LOGO

    Could someone make a logo for me? Name: MOBRA Thank you very much in advance
  16. Quem cuida disso é o cliente. O emulador só informa qual o view id tem que mostrar. Não é possível fazer o que você quer sem editar o cliente.
  17. View File DuplicateCreate and DuplicateRemove command Apply the patch manually These commands allow you to create duplicates at run time. duplicatecreate("sourcename", "targetnameshown", "targetnamehidden", "targetmap", targetx, targety, targetdir{, targetspriteid{, targetxs, targetys}}); duplicateremove("npcname"); Submitter Zell Submitted 05/13/2018 Category Source Modifications Video Content Author Zell  
  18. Version 1.0.0

    178 downloads

    Apply the patch manually These commands allow you to create duplicates at run time. duplicatecreate("sourcename", "targetnameshown", "targetnamehidden", "targetmap", targetx, targety, targetdir{, targetspriteid{, targetxs, targetys}}); duplicateremove("npcname");
    Free
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.