Ashok.N
-
Posts
25 -
Joined
-
Last visited
-
Days Won
1 -
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Posts posted by Ashok.N
-
-
1 hour ago, Baloe said:
Hello
I'm having a problem .. see the picture: https://afbeelding.im/L1b0lpx2
I can not say PuTTY. I'll see this: https://afbeelding.im/f7j0Dfrw
What am I doing wrong? Or have I forgotten to set? I've already done this: / etc / ssh / sshd_config and then '' PermitRootLogin yes '' yes yes instead of no
Sorry for the bad english
Did you reset SSHD service ?
service sshd restart
-
1 hour ago, Shang said:
I thought I was blind, but not, I see a dictionary here not a "theorical list".
PS: Try to help not to correct others word.
He speak about python )) you quote a lua code
- 1
-
2 hours ago, FlorinMarian said:
Can you help me doing this please ?
I just know basically functions in C#, i'm not a developer.
Then do not make server anymore, unless you have the will to learn.
//ClientManagerPlayer.cpp //Search snprintf(queryStr, sizeof(queryStr), "DELETE FROM guild_member WHERE pid=%d", pi->player_id); CDBManager::instance().AsyncQuery(queryStr); // Add above snprintf(queryStr, sizeof(queryStr), "DELETE FROM guild WHERE id=%d", pi->player_id); CDBManager::instance().AsyncQuery(queryStr);
Not tested
-
Do you have errorlog.exe in your client folder? If so, then delete that file.
- 1
-
1 hour ago, Denny2399 said:
Singleton.h is missing included assert.h or something like that. I have the same problem
Sure, sure .. and the roses are blue? ))
The problem is in the unique functions. More probably you used a wrong function somewhere in the unique lua functions. I have no idea. Nobody is a wizard to know what's in your files. Backtrace it's very clear , core crash when try to load unique lua functions.
-
30 minutes ago, Ken said:
It depends on you. In my case, pkItem is useless if you're just using that for a condition.
if (ch->GetItem(p->ItemPos) && ch->GetItem(p->ItemPos)->IsEquipped()) { ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<Storage> You can't store an equiped item.")); return; }
I think, it's much better now
Best Regards
Ken
No, it's not better. You should care more about readibiliy. It is correct to define variables as long as they are good to make the code more readable. If the coding style used by ymir is old, we do not have to follow the same example. I mean the pseudo-hungarian names like pkItem , hungarian naming was originally invented for assembly language. Just use logical names..
It was perfectly fine how it was before , just true == is a bad practice.
Regards
-
3 hours ago, Ken said:
LPITEM pkItem = ch->GetItem(p->ItemPos); // Make sure pkItem is not null pointer. Without that condition, the channel might down. if (pkItem && true == pkItem->IsEquipped()) { ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<Storage> You can't store an equiped item.")); return; }
Best Regards
Ken
true == useless
-
hello gays
sup loser
- 1
-
57 minutes ago, z3imx said:
guys noone know how i can fix it?
really?
Enjoy
-
40 minutes ago, FlorinMarian said:
Sorry for this but already i did it and i don't found anything.
https://metin2.download/picture/wzR82rrbjWnxcQlQrcowOaKv9JmvHrQb/.png
It is not called respawn Next, please use your brain.
https://metin2.download/picture/eXgZzWwfXBPU8duXlMGTNGEoij9hAxWw/.png
-
Replace ILvoid with simple void, ILvoid is just a void typedef.
Directly from devIL API.
typedef void ILvoid;
-
Take a look at the NPC features. You can set the target as NPC if it is a different kingdom.
-
So you're looking for keyboard slaves?
-
set GLOBAL sql_mode='NO_ENGINE_SUBSTITUTION'
Execute this query in account.account
-
3 hours ago, z3imx said:
just
like alwasy i want to do combile
when i came to server i want
gamke all
said "commond not found"
what i need to do?
You are blind ? Do not you see that you have to install gmake? You have an answer on top of you, that answer is a link to a video on youtube. Watch carefully, very carefully.
-
What the hell. Stop saying that mysql is bad, mysql is the number one most popular database server in the world. I do not understand why all the kids come here and talk about changing mysql, if you read somewhere that mariadb is better than mysql, it does not mean it's better for metin. It's useless.
Wikipedia is built on MySQL, that's good enough for me And you say it's old? (wikipedia is the seventh most popular website in the world; has over two million articles and over 15 million pages in total) Even google , eBay , yahoo use it.
Leave mysql as it is, do not touch it .. it will scare and run away. MySql DOES THE JOB JUST FINE.
Do you think that you server have more query than wikipedia or yahoo or google? When i saw the title i was just frustrated " QUTE: Mysql is ooooo 2010's "
-
3 hours ago, charparodar said:
I didn't understand what you asked... This is the whole debug info I get from gdb
root@source:~ # gdb /usr/home/game/share/bin/game /usr/home/game/cores/channel1/game1/game.core GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-marcel-freebsd"... Core was generated by `game'. Program terminated with signal 11, Segmentation fault. Reading symbols from /lib/libmd.so.5...done. Loaded symbols for /lib/libmd.so.5 Reading symbols from /usr/lib/libstdc++.so.6...done. Loaded symbols for /usr/lib/libstdc++.so.6 Reading symbols from /lib/libm.so.5...done. Loaded symbols for /lib/libm.so.5 Reading symbols from /lib/libgcc_s.so.1...done. Loaded symbols for /lib/libgcc_s.so.1 Reading symbols from /lib/libthr.so.3...done. Loaded symbols for /lib/libthr.so.3 Reading symbols from /lib/libc.so.7...done. Loaded symbols for /lib/libc.so.7 Reading symbols from /usr/lib/libsupc++.so.1...done. Loaded symbols for /usr/lib/libsupc++.so.1 Reading symbols from /libexec/ld-elf.so.1...done. Loaded symbols for /libexec/ld-elf.so.1 #0 CHARACTER::GetWear (this=0x0, bCell=21) at char_item.cpp:519 519 return m_pointsInstant.pItems[INVENTORY_MAX_NUM + bCell]; [New Thread 28c05500 (LWP 100137/game)] [New Thread 28c05200 (LWP 100133/game)] [New Thread 28c04f00 (LWP 100132/game)] [New Thread 28c04300 (LWP 100129/game)] (gdb)
And this is syslog, since the moment I push the metin till the end:
May 19 08:21:37.347535 :: /m 8001 May 19 08:21:37.347572 :: COMMAND: charparodar: mob May 19 08:21:37.365720 :: LOG: INSERT DELAYED INTO command_log (userid, server, ip, port, username, command, date ) VALUES(2, 999, 'xxx', 1, 'charparodar', 'm 8001', NOW()) May 19 08:21:38.437591 :: Packet Analyze [Header 61][bufferLeft 23] May 19 08:21:38.437656 :: CInputMain::Analyze() ==> Header [61] May 19 08:21:38.987117 :: Packet Analyze [Header 2][bufferLeft 9] May 19 08:21:38.987143 :: CInputMain::Analyze() ==> Header [2] May 19 08:21:38.987150 :: [TEST_SERVER] Attack : charparodar type 0, MobBattleType 0 May 19 08:21:38.987162 :: battle_melee_attack : [charparodar] attack to [Metin da Dor] May 19 08:21:38.987166 :: battle_melee_attack : [charparodar] attack to [Metin da Dor] May 19 08:21:38.987170 :: battle_melee_attack : [charparodar] attack to [Metin da Dor] May 19 08:21:38.987175 :: battle_hit : [charparodar] attack to [Metin da Dor] : dam :987150 type :1210986496 May 19 08:21:39.246541 :: Packet Analyze [Header 2][bufferLeft 26] May 19 08:21:39.246585 :: CInputMain::Analyze() ==> Header [2] May 19 08:21:39.246591 :: [TEST_SERVER] Attack : charparodar type 0, MobBattleType 0 May 19 08:21:39.246599 :: battle_melee_attack : [charparodar] attack to [Metin da Dor] May 19 08:21:39.246603 :: battle_melee_attack : [charparodar] attack to [Metin da Dor] May 19 08:21:39.246608 :: battle_melee_attack : [charparodar] attack to [Metin da Dor] May 19 08:21:39.246613 :: battle_hit : [charparodar] attack to [Metin da Dor] : dam :246591 type :1210986496 May 19 08:21:39.316699 :: Packet Analyze [Header 2][bufferLeft 9] May 19 08:21:39.316785 :: CInputMain::Analyze() ==> Header [2] May 19 08:21:39.316794 :: [TEST_SERVER] Attack : charparodar type 0, MobBattleType 0 May 19 08:21:39.316807 :: battle_melee_attack : [charparodar] attack to [Metin da Dor] May 19 08:21:39.316858 :: battle_melee_attack : [charparodar] attack to [Metin da Dor] May 19 08:21:39.316865 :: battle_melee_attack : [charparodar] attack to [Metin da Dor] May 19 08:21:39.316902 :: battle_hit : [charparodar] attack to [Metin da Dor] : dam :316794 type :1210986496 May 19 08:21:39.526522 :: Packet Analyze [Header 2][bufferLeft 9] May 19 08:21:39.526549 :: CInputMain::Analyze() ==> Header [2] May 19 08:21:39.526555 :: [TEST_SERVER] Attack : charparodar type 0, MobBattleType 0 May 19 08:21:39.526563 :: battle_melee_attack : [charparodar] attack to [Metin da Dor] May 19 08:21:39.526567 :: battle_melee_attack : [charparodar] attack to [Metin da Dor] May 19 08:21:39.526572 :: battle_melee_attack : [charparodar] attack to [Metin da Dor] May 19 08:21:39.526577 :: battle_hit : [charparodar] attack to [Metin da Dor] : dam :526555 type :1210986496 May 19 08:21:39.526592 :: AddAffect Metin da Dor type 209 apply 0 0 flag 4 duration 31 May 19 08:21:39.796620 :: Packet Analyze [Header 2][bufferLeft 9] May 19 08:21:39.796686 :: CInputMain::Analyze() ==> Header [2] May 19 08:21:39.796692 :: [TEST_SERVER] Attack : charparodar type 0, MobBattleType 0 May 19 08:21:39.796701 :: battle_melee_attack : [charparodar] attack to [Metin da Dor] May 19 08:21:39.796705 :: battle_melee_attack : [charparodar] attack to [Metin da Dor] May 19 08:21:39.796710 :: battle_melee_attack : [charparodar] attack to [Metin da Dor] May 19 08:21:39.796715 :: battle_hit : [charparodar] attack to [Metin da Dor] : dam :796692 type :1210986496 May 19 08:21:40.56530 :: Packet Analyze [Header 2][bufferLeft 9] May 19 08:21:40.56565 :: CInputMain::Analyze() ==> Header [2] May 19 08:21:40.56571 :: [TEST_SERVER] Attack : charparodar type 0, MobBattleType 0 May 19 08:21:40.56580 :: battle_melee_attack : [charparodar] attack to [Metin da Dor] May 19 08:21:40.56585 :: battle_melee_attack : [charparodar] attack to [Metin da Dor] May 19 08:21:40.56590 :: battle_melee_attack : [charparodar] attack to [Metin da Dor] May 19 08:21:40.56595 :: battle_hit : [charparodar] attack to [Metin da Dor] : dam :56571 type :1210986496 May 19 08:21:40.56657 :: Bonus Exp : Ramadan Candy: 0 MallExp: 0 PointExp: 0 May 19 08:21:40.56668 :: CQuestManager::Kill QUEST_KILL_EVENT (pc=2, npc=8001, pc2=0) May 19 08:21:40.56676 :: Click Quest : MatchingQuest May 19 08:21:40.56839 :: QUEST Setting flag event_dressup.__status 0 May 19 08:21:40.56892 :: Click Quest : MatchingQuest May 19 08:21:40.56902 :: Click Quest : MatchingQuest May 19 08:21:40.57042 :: QUEST Setting flag devilcatacomb_zone.__status 0 May 19 08:21:40.57165 :: QUEST Setting flag levelup.__status 0 May 19 08:21:40.57179 :: GetQF ( levelup . select ) May 19 08:21:40.57184 :: GetQF ( levelup . current ) May 19 08:21:40.57249 :: QUEST Setting flag pvp_manager.__status 0 May 19 08:21:40.57285 :: QUEST Setting flag xmas_2012.__status 0 May 19 08:21:40.57322 :: QUEST Setting flag pet_system.__status 0 May 19 08:21:40.57346 :: Drop money : Attacker charparodar
Man, we need the whole backtrace.
-
11 hours ago, Pierx said:
Yes, exactly what you said
All right!
//////////////////////////////////// // char.h // search : DWORD GetLastMoveTime() const {return m_dwLastMoveTime;} //Add under: DWORD GetLastCapeUseTime() const {return m_dwLastCapeUseIntTime;} ///////////////////////////////// // char.h // search DWORD m_dwLastMoveTime; //Add under: DWORD m_dwLastCapeUseIntTime; //////////////////////////////// // char.cpp // search : m_dwPlayStartTime = m_dwLastMoveTime = get_dword_time(); // Add under : m_dwLastCapeUseIntTime = 0; //////////////////////////// // char.cpp // search : case UNIQUE_ITEM_CAPE_OF_COURAGE: case 70057: case 39006: case REWARD_BOX_UNIQUE_ITEM_CAPE_OF_COURAGE: AggregateMonster(); item->SetCount(item->GetCount() - 1); break; // replace case UNIQUE_ITEM_CAPE_OF_COURAGE: case 70057: case 39006: case REWARD_BOX_UNIQUE_ITEM_CAPE_OF_COURAGE: { int CalcLastCapeUseSec = (get_dword_time() - GetLastCapeUseTime()) / 1000 + 0.5; if (CalcLastCapeUseSec < 1) { ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Wait 1 second.")); return false; } AggregateMonster(); item->SetCount(item->GetCount() - 1); } break;
I did not test it. Replace 1 with the number of seconds.
-
52 minutes ago, Pierx said:
Yes no timer but I think every time you click on cape, you make a packet between client and server, right? I would avoid that.
Anyway, I tried it but quest doesn't start when i click on cape
PS:I put type 18 and subtype 0
Do you want to set an interval, between uses? I mean, to can click it at every 3 seconds, for example?
-
// Skill.h // Search : SKILL_FLAG_FIRE = (1 << 26), SKILL_FLAG_SELFONLY_MAPINDEX_11 = (1 << 27), // char_skill.cpp // Search : Do this step x2 times if (IS_SET(pkSk->dwFlag, SKILL_FLAG_SELFONLY)) { pkVictim = this; } // Add under : if (IS_SET(pkSk->dwFlag, SKILL_FLAG_SELFONLY_MAPINDEX_11) && && (pkVictim->GetMapIndex() == 11)) { pkVictim = this; } // char_skill.cpp // Search : if (IS_SET(pkSk->dwFlag, SKILL_FLAG_SELFONLY) && (pkVictim->GetMapIndex() == 11)) { ComputeSkill(dwVnum, this); } // Add under : if (IS_SET(pkSk->dwFlag, SKILL_FLAG_SELFONLY_MAPINDEX_11) && (pkVictim->GetMapIndex() == 11)) { ComputeSkill(dwVnum, this); }
Navicat -> player.skill_proto -> design table ->
setFlag colum ->
after ATTACK_FIRE add a new value named SELFONLY_MAPINDEX_11
Save the changes And exit. Now go in skill_proto colum setFlag and set the flag.
NOT TESTED
- 1
-
And where should people apply for these posts?
-
36 minutes ago, Syreldar said:
database, player.quest.
Boy do not try to look smart, I know that quest progress is saved in player.quest I thought he was referring to : refine_box, pre_event_hc, drop_char_stone and soo on. Please don't put that emoticon when you quote me again.
-
Only from source.
Item_managger.cpp questmanager.cpp
Access to the brazilian servers?
in Community Support - Questions & Answers
Posted
Somehow, the question is? Do you know any proxy_apps that allows you to connect to the server through the proxy? What does it mean for you reach? Do you want to connect through a proxy to a Brazilian server? Or can not you just connect to any Brazilian server because it has IP blocked for your country? Question is confusing for me ))))
If you just want to connect to a Brazilian server with any proxy_app without receiving "..." then use cyberghostvpn. I personally tested it. I have put 100 ipps from different countries, there was no problem. I could connect normally.
Note: I think you need to have a premium account to not receive "..." when select channels. If you make your account on the site and you are new, I think you have 7 days free of charge as a permium member and you can test it.