• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Sql vs. Xml

sql very fast in save and access account's but a little difficult config
 
Depends, for me XML was so much faster to learn than SQL. It might be different in other people.
 
Sql Aways
why did you make this question? lol
it's a simple awnser lol
 
Ok, it seems like the mayority is using SQL. Could someone explain the differense between than? Not just xml is easy and sql is fast. More details please!
 
You can't compare SQL with XML, because XML doesn't have anything better than SQL.
 
SQL sucks, its VERY HARD to work with, xml its only start and then its done.. SQL You must do with xammp and much other things, and xml is much more easier..


For example,

This is an action script..

SQL
function onUse(cid, item, fromPosition, itemEx, toPosition)
if itemEx.itemid == 2782 then
doTransformItem(itemEx.uid, 2781)
doDecayItem(itemEx.uid)
return TRUE
end
return destroyItem(cid, itemEx, toPosition)
end

And when we come to xml..
function onUse(cid, item, frompos, item2, topos)
if item2.itemid == 2782 then
doTransformItem(item2.uid,2737)
doDecayItem(item2.uid)
elseif item2.itemid == 3985 then
doTransformItem(item2.uid,5463)
doDecayItem(item2.uid)
else
return 0
end

return 1
end


Much more easier..
 
Back
Top