Jump to content

Search the Community

Showing results for tags 'command'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Community
    • M2Dev
    • Offtopic
    • Games Talk
    • Music / Videos / Art
    • Member Representations
    • Services & Sales
  • Metin2
    • General
    • Questions and Answers
    • Frequently Asked Questions
    • Private Servers
    • Videos
  • Suggest a Tutorial / Release
    • Suggest a Tutorial / Release
    • Temporary forum
  • Releases
    • General
    • Guides & HowTo
    • Tools
    • Programming & Scripts / Systems
    • Maps
    • Quests
    • Binaries & Clients / ServerFiles
    • 3D Models
    • 2D Graphics
    • Operating Systems

Categories

There are no results to display.

There are no results to display.


Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Nationality


Skype


Discord


Website


Steam ID


Mapping


3D


2D


C++


LUA


Python


PHP


SQL


HTML


CSS


JavaScript


Empire

Found 6 results

  1. I think someone still haven't seen this error in game source file or someone fix it but not share on metin2dev.org. What's ever Open your cmd_general.cpp and search this ACMD(do_shutdown) change with this ; ACMD(do_shutdown) { if (!ch->IsGM()) return; if (NULL == ch) { sys_err("Accept shutdown command from %s.", ch->GetName()); } TPacketGGShutdown p; p.bHeader = HEADER_GG_SHUTDOWN; P2P_MANAGER::instance().Send(&p, sizeof(TPacketGGShutdown)); Shutdown(10); } Best Regards Ellie
  2. Hello devs Today I would like to present you a new solution that can make you feel more safe with your GMs. This is my first release and it's very simple to do, I'm just posting it here for the newbies and those who don't know how to start searching and other shit like that WHAT IS THIS SYSTEM? This system is a number of preventions for GameMaster characters about certain interractions with normal players in the game. The functions you are about to see are blocking GMs from: Trading items with normal players (and the opposite) Invite normal players to parties (and the opposite) Invite normal players to guilds (and the opposite) Adding normal players as friend contacts (I would say and the opposite but it already exists by default ) Drop items to the ground Build their own private shops with the Bundle item Buy items from a private shop Block a GM from buffing normal players Using the commands /set, /a and /setskillother to normal players WHO IS THIS SYSTEM FOR? I believe we can all agree that trust in partnership is a rare thing these days. This system is released from me for the Admins out there that cannot trust their GMs (and many times their self) so much. Imagine having a server and your GM just gives away items for free to everyone. Bad huh? I thought so... So with this system you are sure that your GMs will do their job properly and won't violate any game rules behind your backs. Your server has rules (as all games out there) and if you wanted people to have some items for free you can easily put those items for sale into the town vendors. People who do this kind of things behind your backs are not authorized by you to do it but I believe that it happened (if not happening yet) to the best of you guys, that's why I'm releasing it. It's time to set some things right in your servers, GMs exist to answer questions and not helping players cheat without any authorization from the administrators, so without further ado, let's get started. SORRY AGAIN, ONE MORE THING I BELIEVE THIS QUESTION IS IN THE MIND OF A DEVELOPER WHO READS THIS GUIDE: MIND RAPIST, WHY DO YOU USE THE IsGM() BOOLEAN TO CHECK IF A PLAYER IS A GM AND NOT USE THE TRADITIONAL CHECK GetGMLevel() > GM_PLAYER? In this tutorial, we will be using the bool IsGM() instead of the usual check because some of the guys who see this may have added @Alina's GM Elevation system. In that case, GetGMLevel() won't work before the character elevates, so our GMs will be able to bypass the check and just create a perfect item, relog and give it away before they elevate. We don't want that don't we? So who ever wants to use GetGMLevel() > GM_PLAYER instead of IsGM() there is no difference you can do that guys, except if you did the elevation system, then you need to use my function in order to work. So let's get the party started. PARTY INVITATION BLOCK In char.cpp search for the function "void CHARACTER::PartyInvite(LPCHARACTER pchInvitee)" and under add this: Done with party block, let's continue BUNDLE USAGE BLOCK FOR CREATING PRIVATE SHOPS In char_item.cpp search for the function "bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell)" and under add this: Done, let's continue ITEM DROP BLOCK Still in char_item.cpp search for the function "bool CHARACTER::DropItem(TItemPos Cell, BYTE bCount)" and under add this: Done with that one, you can close char_item.cpp. Let's move on BUFF BLOCK In char_skill.cpp find this: and paste this under it: Done with that, next! /SET COMMAND BLOCK FOR PLAYERS In cmd_gm.cpp search for the function "ACMD(do_set)" and under add this: Done, but do not close, we have more commands to block! /A COMMAND BLOCK FOR PLAYERS Still in cmd_gm.cpp, search for the function "ACMD(do_advance)" and under add this: Do not close that file yet, one more command left to block /SETSKILLOTHER COMMAND BLOCK FOR PLAYERS Still in this file, search for the function "ACMD(do_setskillother)" and under add this: Done with the commands, you may close cmd_gm.cpp and move on EXCHANGE BLOCK In exchange.cpp search for the function "bool CHARACTER::ExchangeStart(LPCHARACTER victim)" and under (if you have sash system in your source, the top line may be "if ( IsOpenSafebox() || GetShopOwner() || GetMyShop() || IsCubeOpen() || IsAcceOpen() )") add this: Done with the exchange, moving on! GUILD INVITATION BLOCK In guild.cpp search for the function "void CGuild::Invite( LPCHARACTER pchInviter, LPCHARACTER pchInvitee )" and under add this: Here goes the guild invitation, let's move forward FRIEND LIST BLOCK In input_main.cpp search for the function "int CInputMain::Messenger(LPCHARACTER ch, const char* c_pData, size_t uiBytes)" and find this line: change it like this: Still in the same function, find this line in "case MESSENGER_SUBHEADER_CG_ADD_BY_NAME:": and add this: Friends are done. Let's move on to the last one! BUYING ITEMS FROM PRIVATE SHOPS BLOCK In shop_manager.cpp search for the function "void CShopManager::Buy(LPCHARACTER ch, BYTE pos)" and under add this: Done It's not something hard to do, I just gathered everything in one place, you can now sleep at night knowing that your GMs cannot fraud you. I would like to give special thanks to @VegaS who wrote the blocks for buffs, party and guild invitation, thanks so much buddy Note: These will block any interraction between a GM and a normal player, but a GM will be able to interract with another GM (example trade GM with GM). And before someone asks yes I thought about a safebox block for GMs but there is no need for that since you can login to his account and create 3 players, then logout and delete them directly from their database, leaving 3 warriors with Level 0 that cannot login to the game. Let the poor GMs have their safebox it's the only thing left to them after that I think xD So I hope I helped some folks here the tutorial is done Kind regards ~ Mind Rapist
  3. Hey guys I'm getting this syserr everytime I login the game. The result of this is that the game never stores a record that the help button is clicked so it doesn't display again... The help button is always there... Has anybody a solution to this please?
  4. Hello devs does anybody know what should I type as a python command to open the safebox password dialog? I have a button and I want the safebox password dialog to show up when I click it. Can anyone help? Ty
  5. Hi everyone, In this thread I will explain all console commands in the client: exit - Force close the client mvol - Change the music volume between 0 - 10 svol - Change the sound volume between 0 - 10 snds - Change the volume of the interactive sounds (mobs, hit etc...) between 0 - 200 asnds - Change the volume of the ambience between 0 - 200 mspd - Change the moving speed between 0 - 1100 pwd - Show the current folder path (D:ymir work) ls - Show the folders in D:ymir work shadow - Change the shadow level between 0 - 5 splat - Set the rendering distance between the character and the ambience 0 - ∞ distance - Change the view distance between 0 - 4 bgloading - This function is disabled in the binary! transtree - Enable or disable the transparency of the trees 0 - 1 cd - CD to directory, like in bat files (cd ..) up - Go up in the folder structure (D:ymir work) lsd - List all directories on the D: partition lsf - List all files on the D: partition lse - Show the path of the effects (D:ymir workeffect) collision - highlight the objects, monsters, npcs, players 0 - 1 colli - Equal with the collision function without argument, turn on/off the highlighting disconnect - Unfinished function! autorot - Set the rotation moving speed of the camera while pressing the A/D keys 0 - ∞ pickc - Show char informations, isRegistered, isAlive, isDead infoc - Information of another thing, usage: infoc <VID> regchre - Register new effect on the char, usage: regchre <effectType> and <effectFilename> setchra - Set character effect, usage: setchra <effectType> <Visibility 0 or 1> emoticon - Set emotion effect over the character, usage: emotion <number of the emoticon> perfinfo - Show performance informations (?) reload_locale - Reload the locale re - Reload uiGuild and uiInventory cooltime - Disable or enable the skills cooltime hidecursor - Hide the cursor showcursor - Show the cursor warp - Warp to x-y position web - Pop out a web browser hideui - Hide the user interface showui - Show the user interface setcspd - Change the camera moving speed 0 - ∞ savecmr - Export the current camera settings to the client folder, usage: savecmr <filename> loadcmr - Import camera settings, usage: loadcmr <filename in the client folder> setdefcmr - Set to default the camera settings setsight - Change the sight 0 - 100 setcombotype - Set the level of the combo, the server will kick you after few seconds because of combo hack check trans - Change the empire language converting, you can understand all empires without a ring 0 - 1 Rendering options: setrmadd setrmmod setrmaddrgb setrmmodrgb setspec restorerm If you have any question or suggestion please just reply to this topic. Kind Regards, Sanchez
  6. Hello , i have a problem with command_log table When i use an command , doesn't show in table , i try a lot of solutions but nothing I have game 34083 Thanks in avance for your answer .xD
×
×
  • 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.