Own private server question

Any discussion not related to the other forum topics
User avatar
kjLotus
Special Guest
Posts: 1813
Joined: Sun Jul 22, 2012 2:16 pm

Re: Own private server question

Post by kjLotus » Fri May 30, 2014 6:06 pm

cubia wrote:However, i am surprised about what you're saying with dynamis and relics. I always wanted to get Apocalypse for my DRK but never did during 2004 to 2009 because i had no gil and my LS were doing relics for other members so i was out of that league. Mind telling me how come getting a relic got easier ?
dynamis works totally different now in retail, there's no reserving the zone, everyone has their own time limit, so people can just go in solo/duo and farm currency themselves. i made a ragnarok in about 2 months just by duoing dynamis every day
cubia wrote:Do you mind explaining where i can download the source code and alter it for my own server ? Is there a guide on how to change NPC's selling list, changing our damage, changing mob's lv or HP ?

I cant really do such things on my own and will probably have to follow a wiki/guide.
https://wiki.dspt.info/index.php/ should have a guide for downloading/installing

cubia
Posts: 44
Joined: Wed May 21, 2014 5:44 am

Re: Own private server question

Post by cubia » Fri May 30, 2014 6:09 pm

kjLotus wrote:
cubia wrote:However, i am surprised about what you're saying with dynamis and relics. I always wanted to get Apocalypse for my DRK but never did during 2004 to 2009 because i had no gil and my LS were doing relics for other members so i was out of that league. Mind telling me how come getting a relic got easier ?
dynamis works totally different now in retail, there's no reserving the zone, everyone has their own time limit, so people can just go in solo/duo and farm currency themselves. i made a ragnarok in about 2 months just by duoing dynamis every day
cubia wrote:Do you mind explaining where i can download the source code and alter it for my own server ? Is there a guide on how to change NPC's selling list, changing our damage, changing mob's lv or HP ?

I cant really do such things on my own and will probably have to follow a wiki/guide.
https://wiki.dspt.info/index.php/ should have a guide for downloading/installing
You guys are quick haha, unbelievable !

Thanks a lot. I'm going through the process of hosting my own server. Wont be online, its for personal use only since i dont have a real server that can handle it. My computer will host and i'll play at the same time but i guess hosting it and playing with 2-3 characters should be okay.

If i ever get into an error while trying this out, i'll post in this thread again. :mrgreen:

cubia
Posts: 44
Joined: Wed May 21, 2014 5:44 am

Re: Own private server question

Post by cubia » Fri May 30, 2014 8:34 pm

Seems like i'm going through my first problem :

Image

I am on this part :

Select Run. "256 queries should be successful!" should be the result.
I recommend you save the Query in case you need to run it again later after updating the server.

Since i am not seeing 256 queries should be successful! part, i am afraid to go further and miss something.

I have done something wrong ?

cubia
Posts: 44
Joined: Wed May 21, 2014 5:44 am

Re: Own private server question

Post by cubia » Fri May 30, 2014 8:58 pm

I kept going until you get back to me.

I havent tried to log in yet or whatever, but i've started servers (DSConnect) worked like a charm, everything is green and okay. However DSGamer Server was ok, until this :

Image

Seems like i'm having a problem with zones ?

User avatar
kjLotus
Special Guest
Posts: 1813
Joined: Sun Jul 22, 2012 2:16 pm

Re: Own private server question

Post by kjLotus » Fri May 30, 2014 9:06 pm

nah nothing's wrong, that's all normal

cubia
Posts: 44
Joined: Wed May 21, 2014 5:44 am

Re: Own private server question

Post by cubia » Fri May 30, 2014 9:07 pm

Tried to login, but....

Image

I have to use the reversed IP ? The normal one ?

Just did a simple ashita config, --server 17475776 and got the screenshot above.

Not sure where I've messed up.

Edit : nevermind, managed to log in with : 127.0.0.1

It was my fault.

However, my character is soooooo slow, that's crazy haha. Its even slower than retail.

I will try to find info on how to modify auction house listing and set items. Set myself as a GM and try some stuff.

If i have other issues, i'll just ask here.

Thanks again for your quick reply man !

cubia
Posts: 44
Joined: Wed May 21, 2014 5:44 am

Re: Own private server question

Post by cubia » Fri May 30, 2014 10:25 pm

Maybe i didn't see it but. How do you actually add items to NPC or auction house ?

I've checked https://wiki.dspt.info/index.php/Custom ... our_Server

But its explaining how to mod an NPC in order to receive an item or amount of gil if you talk to it or something. But what about AH Modification and NPC selling list mod ?

Sorry if that's somewhere in that wiki, probably didn't pay attention if that's the case !

Edit : just noticed. When i added kikoku to my item list, i've obtained blade metsu, but when i've added Nagi, i didn't get Blade Kamu. Is that normal ?

Same for : http://www.ffxiah.com/search/item?q=nagi

When i tried to add the most powerful one (bottom one) it was not injected in my inventory. Not sure if i did something wrong.

Edit 2 (lol) : something else i've noticed. Apparently you can set your GM to lvl 225 or something, but when i try to do so, i get a system message saying that i cannot set above 99. That's enough since we do have godmode and all but just curious as to why its not working ?

User avatar
kjLotus
Special Guest
Posts: 1813
Joined: Sun Jul 22, 2012 2:16 pm

Re: Own private server question

Post by kjLotus » Fri May 30, 2014 10:31 pm

mythic weapons aren't implemented

add items to AH by modifying the db (or using the AH tool somewhere on the website)

add items to NPC vendors by modifying their script (scripts/zones/<zonename>/npcs/<npcname>.lua

cubia
Posts: 44
Joined: Wed May 21, 2014 5:44 am

Re: Own private server question

Post by cubia » Fri May 30, 2014 11:52 pm

I've tried to open a lua file for a npc in san doria and it looks like this :
-----------------------------------
-- Area: Carautia
-- NPC: Southern San d'Oria
-- Standard Merchant NPC
-- @zone 230
-- @pos 70 0 39
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------

require("scripts/globals/settings");
require("scripts/globals/shop");
require("scripts/globals/quests");
require("scripts/zones/Southern_San_dOria/TextIDs");

-----------------------------------
-- onTrade Action
-----------------------------------

function onTrade(player,npc,trade)
-- "Flyers for Regine" conditional script
FlyerForRegine = player:getQuestStatus(SANDORIA,FLYERS_FOR_REGINE);

if (FlyerForRegine == 1) then
count = trade:getItemCount();
MagicFlyer = trade:hasItemQty(532,1);
if (MagicFlyer == true and count == 1) then
player:messageSpecial(FLYER_REFUSED);
end
end
end;

-----------------------------------
-- onTrigger Action
-----------------------------------

function onTrigger(player,npc)

player:showText(npc,CARAUTIA_SHOP_DIALOG);

stock = {0x3208,11340,1, --Chain Hose
0x3288,6966,1, --Greaves
0x3012,10281,1, --Kite Shield

0x3004,4482,2, --Mahogany Shield
0x321a,16552,2, --Studded Trousers
0x329a,10054,2, --Studded Boots

0x3002,544,3, --Maple Shield
0x3220,187,3, --Bronze Subligar
0x3221,1800,3, --Brass Subligar
0x3218,482,3, --Leather Trousers
0x32a0,115,3, --Bronze Leggings
0x32a1,1116,3, --Brass Leggings
0x3298,302,3} --Leather Highboots

showNationShop(player, SANDORIA, stock);

end;

-----------------------------------
-- onEventUpdate
-----------------------------------

function onEventUpdate(player,csid,option)
--printf("CSID: %u",csid);
--printf("RESULT: %u",option);
end;

-----------------------------------
-- onEventFinish
-----------------------------------

function onEventFinish(player,csid,option)
--printf("CSID: %u",csid);
--printf("RESULT: %u",option);
end;
For example : 0x3298,302,3} --Leather Highboots

302 is the amount of gil needed to purchase it ?

I dont really know where to find the items database in order to add it to the said npc. Setting up a price just seems to come after (,) but no idea as to how to add specific items.

User avatar
kjLotus
Special Guest
Posts: 1813
Joined: Sun Jul 22, 2012 2:16 pm

Re: Own private server question

Post by kjLotus » Fri May 30, 2014 11:58 pm

0x3298 is the item id, 302 is the price (i think the 3 is for what place san d'oria is in)

itemid you can find in the url on ffxiah
ie. a 119 kogarasumaru http://www.ffxiah.com/item/21017/kogarasumaru is itemid 21017 (or 0x5219, both work)

Post Reply