Jump to content

morion

Inactive Member
  • Posts

    74
  • Joined

  • Last visited

  • Feedback

    0%

About morion

Informations

  • Gender
    Not Telling

Social Networks

  • Skype
    sidhe_24

Recent Profile Visitors

2389 profile views

morion's Achievements

Enthusiast

Enthusiast (6/16)

  • First Post
  • Collaborator
  • Conversation Starter
  • Week One Done
  • One Month Later

Recent Badges

59

Reputation

  1. what kind of tutorial, without more informations is not possible help you...
  2. ACMD(do_ban) { char arg1[256], arg2[256]; const char* name; const char* reason; if (!ch || ch->GetGMLevel() != GM_IMPLEMENTOR) { sys_log(0, "do_ban without rights %s[%d]", ch->GetName(), ch->GetPlayerID()); return; } two_arguments(argument, arg1, sizeof (arg1), arg2, sizeof(arg2)); if (!*arg1 || !*arg2) { ch->ChatPacket(CHAT_TYPE_INFO, "Correct command form: /ban <player name> <reason>"); return; } name = arg1; reason = arg2; LPDESC LDESC = DESC_MANAGER::instance().FindByCharacterName(name); LPCHARACTER LCHARACTER = LDESC ? LDESC->GetCharacter() : NULL; if (!LCHARACTER) { ch->ChatPacket(CHAT_TYPE_INFO, "%s not found.", name); return; } if (LCHARACTER == ch) { ch->ChatPacket(CHAT_TYPE_INFO, "You cant ban yourself!"); return; } if (LCHARACTER->GetGMLevel() >= GM_LOW_WIZARD) { ch->ChatPacket(CHAT_TYPE_INFO, "You cant do that."); return; } LCHARACTER = CHARACTER_MANAGER::instance().FindPC(name); DBManager::instance().DirectQuery("UPDATE account.account SET status = 'BLOCK' WHERE id = %d", LCHARACTER->GetAID()); DBManager::instance().DirectQuery("UPDATE player.player SET reason = %s WHERE id = %d", reason, LCHARACTER->GetAID()); LDESC->DelayedDisconnect(5); sys_log(0, "%s[%d] banned %s with reason: %s", ch->GetName(), ch->GetPlayerID(), name, reason); ch->ChatPacket(CHAT_TYPE_INFO, "%s was banned with reason: %s", name, reason); }
  3. Hi i'm looking to buy this complete dungeon. Payment via paypal
  4. is not a poor fix, is a fix, the only reason to take gold value on create char query is if you enable gold on char create
  5. is not mandatory set the gold value on player create query, simply delete gold field and value from query and set default value of Gold to 0 on table
  6. Hi i have this error when i try to drop a item 0220 12:54:51383 :: File "game.py", line 1396, in OnMouseLeftButtonUp 0220 12:54:51383 :: File "game.py", line 1433, in __PutItem 0220 12:54:51383 :: File "game.py", line 1508, in __DropItem 0220 12:54:51383 :: AttributeError 0220 12:54:51383 :: : 0220 12:54:51383 :: 'module' object has no attribute 'QuestionDialogItem' 0220 12:54:51383 ::
  7. Hi devs I have a strange problem with the cube, if i put this CrystalCavern section npc 20022 item 23078 1 item 23079 1 item 23080 1 reward 23081 1 percent 100 end it works but if try this CrystalCavern section npc 20126 item 23078 1 item 23079 1 item 23080 1 reward 23081 1 percent 100 end with the same quest, it don't works.... syserr on client CPythonNetworkStream::ServerCommand(c_szCommand=cube r_list 20126 0 ) - Strange Parameter Count : 5 any help?
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.