Jump to content


  • Content count

  • Joined

  • Last visited

Tasho last won the day on March 13

Tasho had the most liked content!

Community Reputation

194 Rampage

1 Follower

About Tasho

  • Rank
  • Birthday 04/12/1994

Profile Information

  • Gender
  1. You can also use the new features from that repository: https://github.com/Vegas007/Metin2-Extended-Item-Award
  2. c++ [C++] Tab Targeting (GF v16.1)

    https://board.en.metin2.gameforge.com/index.php/Thread/86760-Game-Version-16-1/ That's the way of official, everyone can extend it as they want, for players, stones, npc etc. Just extend check IsEnemy() + IsStone() in line 39 from PythonCharacterManager.cpp (Github), there are more checks if you want: pkInstTarget->IsPC() pkInstTarget->IsStone() pkInstTarget->IsEnemy() pkInstTarget->IsNPC() pkInstTarget->IsPoly()
  3. open Biology quest

  4. c++ [GF v17.5] Active pet seal effect

    With time crazied you mean something like this?
  5. [Search]AutoPacher coder

  6. Python and it's struggles

    no data types In every language exist data types, but in Python the declaration happens automatically when you assign a value to a variable not need to specify which type to be like int, float, string etc..and you can do assignation with another data type just with operator '=', without killing language like C++ assignation between std::vector & std::map, here is more easy. no semicolons The semicolon here does not do anything, but exist and can be used with no problems, does let you use to denote the end of a statement if you are including more than one statement on a line. import command does not distinguish python includes and my includes (like C do by "" and <>) #include and import are quite different, C/C++ is a compiled language, C++ you do #include <library> and in Python you have this syntax for import the content of another program file in your own. (i can't explain it very good the difference because have no-sense) Two or more physical lines may be joined into logical lines using backslash characters (\) - backslash . JesusHere =\ { [....] } As i said don't try to search difference between 2 languages which both are amazing in them way, Python was choosed by YMIR for write the GUI Engine because is a easy language and flexible instead of C++ or any variants, if you are good at C/C++, you can easily learn Python in some weeks because that is more easy than it.. Some difference between them are: Python uses Garbage Collection whereas C++ does not. C++ is a statically typed language, while Python is a dynamically typed language. Python is easier to use than C++. Python is run through an interpreter, whilst C++ is pre-compiled. Hence, C++ is faster than Python. C++ supports pointers and incredible memory management. Python supports very fast development and rapid, continuous language development. Python has less backwards compatibility. Majority of all applications are built from C++. Majority of all 3D applications offer Python access to their API's. Python code tends to be 5 to 10 times shorter than that written in C++. In Python, there is no need to declare types explicitly. Smaller code size in Python leads to leads to "rapid prototyping", which offers speed of development. Python requires an engine to run. Python is interpreted each time it runs. Python is hard to install on a Windows box and thus makes distribution of the program problematic. C++ is a pure binary that links to existing libraries to assist the coding. In Python, variables are in scope even outside the loops in which they are first instantiated. In Python, a function may accept an argument of any type, and return a value of any type, without any kind of declaration beforehand. Python provides flexibility in calling functions and returning values. Python looks cleaner, is object oriented, and still maintains a little strictness about types. @difference-between-cplusplus-and-python
  7. c++ Notice System With Timer

    That's why metin2 is cancerous community..we stole code/ideas from another guys and put inside without any mention or thanks for it, doesn't importantly if you post free or not. 1. 2. 3. There are more.. You know very well about what i'm talking, already there exist more guys which take system a, b from C and make some changes and adapt it for another things. I don't will talk about the rest of code which is already non-sense, already all people can see it. Look: Already you and this guy stole the same concept of call event and check real time from Tournament PvP and do some changes, great coders. Good luck "Developer of future."
  8. open Python problem gui

    Variable names can't start with a number (in more languages), you have to change the names for self.1 & self.1_func.
  9. open Asking developers

    I think he talk about this video. You can't block it 100%.
  10. open Need help

    Already YMIR did that just for codePage (locale.cfg) as 949 < locale/ymir. ../root/uiMiniMap.py # Search for: def SetMapName(self, mapName): if 949==app.GetDefaultCodePage(): try: self.board.SetTitleName(localeInfo.MINIMAP_ZONE_NAME_DICT[mapName]) except: pass # Replace with: def SetMapName(self, mapName): self.board.SetTitleName(localeInfo.MINIMAP_ZONE_NAME_DICT.get(mapName, uiScriptLocale.ZONE_MAP)) If you want to add more maps there exist a dictionary MINIMAP_ZONE_NAME_DICT on localeInfo,the key should be name of map (atlasInfo.txt) and value is your map name. MINIMAP_ZONE_NAME_DICT = \ { "metin2_map_n_flame_dragon" : MAP_FLAME_DUNGEON, # ..locale/en/locale_game.txt }
  11. open Reset skill group

    I'm not a quester but these are really basic shits which you have to know before write something, you have 'quests which you sell' on that forum, that's very bad. You called x3 times say_title(item_name). You use say("") for make a new row empty, already exist '[ENTER]'. You use item vnum 71002, instead of use item.get_vnum(). For questions like Yes, No already exist 'locale.yes, locale.no'. Why you guys start to put ";" at the end of function or returns? Did you know for what is that or just put it and want to look different than another ones? 'Semi-colons in Lua are generally only required when writing multiple statements on a line, stop use it if don't know how is working, you should learn a bit from Lua documentation before write any code and stop do things which others do. Have fun.
  12. python [Py] Root 02.02.2018

    @GostMan Stop using fake account. You are the most of *dum.... from here, because you didn't really understand the sarcasm which @tierrilopes created it, a guy say on first page: "i can write better the code of official and things which containing a lot a lines I can do on one line.", but he doesn't have idea about coding. And from here start some examples from us and make fun about situation, what's your problem? Oh let me know..you are frustrated because you don't understand how it's working the code from us examples? Don't try to look smart than us because you aren't, don't come with examples of another language if there's all about Python. That one line here is called as "comprehension python list". For simple conditions is ok to use it, but on that case from the previous replies for multiple function to be called doesn't look very good and should stay on normally style. I'm not sure but you are looking like a romanian which didn't eat nothing since a lot a time. You should stop do spam without sense after some weeks just because you are frustrated, if all people do that which all what they don't like it and hate it what happens with community? If I hate something from guys which talking on some topics should I check now all topics and go and say them "yo guys, you are *dum...? Was ok if you was registered when we was had that discussion, not after some weeks. Have fun.
  13. open Quest count kill

    All quests. TRUNCATE TABLE player.quest; Specific quest. DELETE FROM player.quest WHERE szName = 'name_quest'; Navicat -> Any database -> CTRL + Q -> CTRL + V -> Run