[RELEASE] My server files

Page 11 of 18 FirstFirst ... 3456789101112131415161718 LastLast
Results 151 to 165 of 267
  1. #151
    Apprentice samehvan is offline
    MemberRank
    May 2008 Join Date
    19Posts

    Re: [RELEASE] My server files

    Quote Originally Posted by Neuro99 View Post
    Sorry i'm not very good with ip's lol but i ment my router ip in the actual game server. Not server.dat I ment if i portforward properly then do i put my external ip in the server.dat, and my routers ip in the game server.
    u have to put one IP to them poth (the game server and server.dat) must be the same IP

    and again , u cant put ur router IP anywhere coz it hasnot any control of ur server , so put ur static IP (ur computer IP) to the game server and the server.dat

  2. #152
    Apprentice Neuro99 is offline
    MemberRank
    Apr 2008 Join Date
    22Posts

    Re: [RELEASE] My server files

    Quote Originally Posted by samehvan View Post
    u have to put one IP to them poth (the game server and server.dat) must be the same IP

    and again , u cant put ur router IP anywhere coz it hasnot any control of ur server , so put ur static IP (ur computer IP) to the game server and the server.dat
    Oh yeah sorry i didn't understand last time well that means i havn't port forwared properly, thanks.

  3. #153
    Apprentice samehvan is offline
    MemberRank
    May 2008 Join Date
    19Posts

    Re: [RELEASE] My server files

    now i got the NPC id and i got the msg to the console xD , eeeeh , now i need the dialog form code means how to send the msg through a form box contains the options

    i really dd an effort to figure out the ID coz i am totaly new to C# but i hope i will be a good learner

    so if anyone can help with that dialog box Code plz let me know

  4. #154
    Apprentice samehvan is offline
    MemberRank
    May 2008 Join Date
    19Posts

    Re: [RELEASE] My server files

    eh , no one gonna help? , k i think i will keep going my self , i just wanted to save some time , anyhow , i was gonna ask for more code xD , i knew how to get the item id

    i just want to know how to link it from packethandeler to the character.cs--> public void AddAnItem

  5. #155
    Frozen LegendX is offline
    MemberRank
    Aug 2006 Join Date
    homeLocation
    205Posts

    Re: [RELEASE] My server files

    can somone teach me how to make stamina work :S

  6. #156
    Apprentice samehvan is offline
    MemberRank
    May 2008 Join Date
    19Posts

    Re: [RELEASE] My server files

    loooooooooooooooolz , i got it ,, thnx for nun helping , now i can buy shits from the shops

    , of course i can have them by typing the item command but very cool to code it anyway , so i dunno should i release it now or w8 tell i code the talking NPCs too ???

  7. #157
    Account Upgraded | Title Enabled! james1992_2006 is offline
    MemberRank
    Aug 2006 Join Date
    illlinoisLocation
    427Posts

    Re: [RELEASE] My server files

    Quote Originally Posted by samehvan View Post
    loooooooooooooooolz , i got it ,, thnx for nun helping , now i can buy shits from the shops

    , of course i can have them by typing the item command but very cool to code it anyway , so i dunno should i release it now or w8 tell i code the talking NPCs too ???
    if i was u id wait untill u add "npc dialogs" also lol :P

    but gratz on the shops?

  8. #158
    Apprentice samehvan is offline
    MemberRank
    May 2008 Join Date
    19Posts

    Re: [RELEASE] My server files

    this is the last edit version xD ,, with talking NPC, not all NPCs talking r8 now , i just put the bases for dialogs , after that u can make all of them talking with whatever u want by urself
    my 2day edit have the shop boy saying blabla and the TC conductor totally working ,

    i tried to make it as simple and easy as i can so u can all add what u want easily
    and here are the steps to do it

    at the source folder u will find another folder nameds NPCsstuff inside it there is an INI file named Dialog

    * open the Dialog.ini file it will look like that

    Code:
    [10063]
    face=3
    txt0=I have a great Quest for you if you - answer my question i will get u to lvl 30
    txt1=well done u got it
    opt0=sure-no i am not that talent
    opt1=Ok thank you
    req=gold,100
    rew=lvl,10
    
    [10050]
    face=2
    txt0=Hello there how are you i am the teleporter magician where do u want to go
    opt0=Ape Mountain-Bird Island-Phoenix castle-Desert City-Mine Cave-Market-No I will stay
    req=gold,100-gold,100-gold,100-gold,100-gold,100-gold,100
    rew=teleport,1020,567,576-teleport,1015,723,573-teleport,1011,190,271-teleport,1000,500,650-teleport,1003,70,50-teleport,1036,210,195
    as u can c
    1-start a new section for the NPC u want it to talk by typing it's [NPC_ID]
    2-face= ---->put the face number (the NPC avatar)
    3-txt0= ------>r8 the text the NPC will say when u click it and u have to name it txt0 for the first speach then u can add txt1 and txt2 as it will needed
    4-opt0=for options the dialog will contain separating them by the "-" symbol
    5-req= the requirements needed for every option means if u have 6 options u have to put 6 reqs , what if nothing needed ?? , then u will have to put "-" for every one for example (if u have 3 options ,number 1 does not need requirements no2 needs 100 sliver and 3 the exit option then u will do it like that (req0= -goold,100)
    6-rew= the rewards the player will have if he has the requirements and it is as the req if no rewards then "-"

    *u have only three reqs to choose from them so far (mini lvl,gold,CPs) and for everyone u just write the option u need and "," then the number
    8u have also 5 options as rewards (lvl,gold,cps,teleport and item)
    for the level as reward u r8 "lvl,(Value)" for example :-rew=lvl,50 --> that means the palyer will be lvl 50 as a reward
    for gold and CPS just r8 them and the value u want just like (gold,50000 or cps,200)
    for items u have to know the Item ID and r8 them on that order
    itemID,Plus(0-9),Bless(0-15),Enchanted(0-255),soc1,soc1,Number of item
    for example if u want to reward the player a L30 club +5 bless -3 enchanted 150 with one socket super dragon gem on it it must be like that :-

    rew=item,480050,5,3,150,13,0,1

    u can find all items and IDs on the CoItems.txt at the main source folder

    for teleporting u r8 teleport,map id,location x,location y for example if u want to teleport the player to Mystic Castle it will be like that

    rew=teleport,1015,723,573


    i know it is not perfect yet but if u look to the last posts u will c i am a new learner and u may call me a noob yet :winky:

    i hope u will enjoy it all

    and be4 i forgot , that source based on hadeset source and i have learned a lot from Korvacs coding all thanks for them

    Added Sell Items , Upgrading item and number of items as a reward

    http://www.filefactory.com/file/351639/
    Last edited by samehvan; 03-06-08 at 06:06 PM. Reason: Add the New things

  9. #159
    Account Upgraded | Title Enabled! james1992_2006 is offline
    MemberRank
    Aug 2006 Join Date
    illlinoisLocation
    427Posts

    Re: [RELEASE] My server files

    actually for u being new to coding and all thats not that bad u may yet be a decent coder after all if u stick to learning c# :P

  10. #160
    Frozen LegendX is offline
    MemberRank
    Aug 2006 Join Date
    homeLocation
    205Posts

    Re: [RELEASE] My server files

    samehvan thank you alot for that! i now really wanna make stamina and dropping item/picking up item work :S and also.. and.. im having problems trying add /gm message to work :S sorry im a noob :P

  11. #161
    Apprentice Neuro99 is offline
    MemberRank
    Apr 2008 Join Date
    22Posts

    Re: [RELEASE] My server files

    [10063]
    face=3
    txt0=I have a great Quest for you if you - answer my question i will give you an item
    txt1=well done u got it
    opt0=sure-no i am not that talent
    opt1=Ok thank you
    req=gold,100
    rew=480050,7,5,3,150,13,0


    Why won't that work :S it makes my chars HP go to 0. I can't see whats wrong with it :S

  12. #162
    Proficient Member bumanzuber2010 is offline
    MemberRank
    Apr 2008 Join Date
    on the corner next to your momLocation
    170Posts

    Re: [RELEASE] My server files

    Quote Originally Posted by Neuro99 View Post
    [10063]
    face=3
    txt0=I have a great Quest for you if you - answer my question i will give you an item
    txt1=well done u got it
    opt0=sure-no i am not that talent
    opt1=Ok thank you
    req=gold,100
    rew=480050,7,5,3,150,13,0


    Why won't that work :S it makes my chars HP go to 0. I can't see whats wrong with it :S

    well i got the same prob 2 i think i have this as a npc dialog Prob = no 2nd dialog/option cept with blade on 2nd example, not taking away cps i think, NEVER givin items

    [30161]
    face=2
    txt0=Would you Like to Trade Cps for items?
    txt1=There You Go Big Guy!
    opt0=Club
    opt1=Ok....Thank you
    req=cps,5000
    rew=480050,7,5,3,150,13,0

    for some reason wen i add more items for it to put as a reward it does work for example

    [30161]
    face=2
    txt0=Would you Like to Trade Cps for 130/highest lvl +9 2 socket super items?
    txt1=There You Go Big Guy!
    opt0=Blade-Club-Armor-Ring-Coronet-Boots-Necklace
    opt1=Ok....Thank you
    req=cps,5000-cps,5000-cps,5000-cps,5000-cps,5000-cps,5000-cps,5000
    rew=410339,9,5,234,13,13,480339,9,5,234,13,137310,9,5,234,13,13,150249,9,5,234,13,13,112389,9,5,234,13,13,160249,9,5,234,13,13,120249,9,5,234,13,13

    i think its taking away cps with multiple items but wen restart server, it it shows 2nd dialog also wen i use multiple items, but it doesnt give me anything any ideas?am i doing something rong? any mistakes?
    Last edited by bumanzuber2010; 28-05-08 at 11:12 PM. Reason: Apparently others have same prob

  13. #163
    Proficient Member bumanzuber2010 is offline
    MemberRank
    Apr 2008 Join Date
    on the corner next to your momLocation
    170Posts

    Re: [RELEASE] My server files

    i think samehavens server files for npc r actually just malware cuz i downloaded this morning no ones been on since then and i didnt have malware then and now i do

  14. #164
    Account Upgraded | Title Enabled! james1992_2006 is offline
    MemberRank
    Aug 2006 Join Date
    illlinoisLocation
    427Posts

    Re: [RELEASE] My server files

    Quote Originally Posted by bumanzuber2010 View Post
    i think samehavens server files for npc r actually just malware cuz i downloaded this morning no ones been on since then and i didnt have malware then and now i do
    lmfao wouldnt doubt it :P

    or it could be just a concidence or maybe ure eggaration a little bit but anyway if those npc dialogs r prolly bugged or not coded properly if ure having problems with them :P

    edit:seems clean 2 me looked through the files and scanned them didnt find any "malware" :P

  15. #165
    Valued Member xEnt is offline
    MemberRank
    Nov 2006 Join Date
    100Posts

    Re: [RELEASE] My server files

    Quote Originally Posted by james1992_2006
    actually for u being new to coding and all thats not that bad u may yet be a decent coder after all if u stick to learning c# :P
    That actually has nothing to do with coding, or C#. That's just editing/scripting. :P



Advertisement