-
Activity
-
162
-
3
-
2
Origins2 Global | International | A new concept - 10.06.2022
Dear Community, We inform you that we have launched the official OG2 coin website! More information about this cryptocurrency can be found on the website. Follow us on social media to stay informed about this currency: Website: https://coin.origins2.global/ Telegram: https://t.me/og2coin Twitter: Soon we will announce our first airdrop (giveaway) worth 2000 OG2 coins! -
2
Origins2 Global | International | A new concept - 10.06.2022
beautiful presentation- 1
-
-
7
-
0
Does the Metin2 official system recognize?
Hey guys im curious if Metin2 can detect Robot clicks from IDEs, so he get banned? I recognized someone fishing for a very long time, a normal guy cant really fish that long. Thanks in advance -
0
Looking for partners for international server
Good afternoon community, Friends I am looking for people who want to work on the development of an international project, the idea is that we are from different communities for example I am from the Hispanic community, I am looking for people from the Romanian, Turkish, German, English, Portuguese, Hungarian community, French and Italian, if you are interested contact me on Discord and we can talk better. [SA]Aaron#7965 -
0
mob_proto.txt db offline +db.core
how can i fix the error below? SYSERR: May 19 16:08:44.708826 :: ChildLoop: AsyncSQL: query failed: Data truncated for column 'size' at row 1 (query: replace into mob_proto (vnum, name, locale_name, type, rank, battle_type, level, size, ai_flag, setRaceFlag, setImmuneFlag, on_click, empire, drop_item, resurrection_vnum, folder, st, dx, ht, iq, damage_min, damage_max, max_hp, regen_cycle, regen_percent, exp, gold_min, gold_max, def, attack_speed, move_speed, aggressive_hp_pct, aggressive_sight, attack_range, polymorph_item, enchant_curse, enchant_slow, enchant_poison, enchant_stun, enchant_critical, enchant_penetrate, resist_sword, resist_twohand, resist_dagger, resist_bell, resist_fan, resist_bow, resist_fire, resist_elect, resist_magic, resist_wind, resist_poison, dam_multiply, summon, drain_sp, skill_vnum0, skill_level0, skill_vnum1, skill_level1, skill_vnum2, skill_level2, skill_vnum3, skill_level3, skill_vnum4, skill_level4, sp_berserk, sp_stoneskin, sp_godspeed, sp_deathblow, sp_revive) values (101, "??", "Vad kutya", 0, 0, 0, 1, 0, this will cause the server to shut down and not start -
32
-
-
Recently Browsing
- No registered users viewing this page.
Question
Mila 3
Help i use mysql 5.6 and cant found its..
function give_md(z)
or b or 'NULL'
or b or 'NULL'
os.execute("mysql -uroot -pM22 account --execute='UPDATE account SET coins = coins + ".. z .." WHERE id = ".. pc.get_account_id() ..";'")
os.execute("mysql -uroot -pM22 log --execute='INSERT INTO mds_log (account_id, player_id, coins, fecha) VALUES (".. pc.get_account_id() ..", ".. pc.get_player_id() ..", ".. z ..", NOW());'")
end
mysql_query = function(query)
if not pre then
local rt = io.open('CONFIG','r'):read('*all')
pre,_= string.gsub(rt,'.+PLAYER_SQL:%s(%S+)%s(%S+)%s(%S+)%s(%S+).+','-h%1 -u%2 -p%3 -D%4')
end
math.randomseed(os.time())
local fi,t,out = 'mysql_data_'..math.random(10^9)+math.random(2^4,2^10),{},{}
--os.execute('mysql '..pre..' --e='..string.format('%q',query)..' > '..fi) -- für MySQL51
os.execute('mysql '..pre..' -e'..string.format('%q',query)..' > '..fi) -- für MySQL55
for av in io.open(fi,'r'):lines() do table.insert(t,split(av,'t')) end; os.remove(fi);
for i = 2, table.getn(t) do table.foreach(t,function(a,
out[i-1] = out[i-1] or {}
out[i-1][a] = tonumber(
out[t[1][a]] = out[t[1][a]] or {}
out[t[1][a]][i-1] = tonumber(
end) end
return out
end
function split(str, delim, maxNb)
if str == nil then return str end
if string.find(str, delim) == nil then return { str } end
if maxNb == nil or maxNb < 1 then maxNb = 0 end
local result = {}
local pat = "(.-)" .. delim .. "()"
local nb = 0
local lastPos
for part, pos in string.gfind(str, pat) do
nb = nb + 1
result[nb] = part
lastPos = pos
if nb == maxNb then break end
end
if nb ~= maxNb then result[nb + 1] = string.sub(str, lastPos) end
return result
end
not found execute and mysql_query not found too..
Link to comment
Share on other sites
Top Posters For This Question
2
3
Popular Days
Jul 29
2
Jul 30
2
Jul 31
1
Top Posters For This Question
RoxaLyssa 2 posts
Mila 3 posts
Popular Days
Jul 29 2014
2 posts
Jul 30 2014
2 posts
Jul 31 2014
1 post
4 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now