Jump to content

klaw

Members
  • Posts

    20
  • Joined

  • Last visited

Posts posted by klaw

  1. mapflag/nopvp.txt 

    mapflag/pvp.txt

     

    You don't need an atcommand to do that, but it is possible to modify that @pk command to only enable pk on a specific map. Alternatively, you could use mf_town or something, or create your own mapflag and have @pk call that instead :x

  2. Use search function, tons of answers to this problem.

     

    Check IPs, check mmo.h, make sure you're using the correct client. Those are the two most common issues, but being as your char and map server are online, your client failing to connect is likely a mmo.h misconfiguration or clientinfo.xml having the wrong IP address

     

    Website side-note, is your site hosted on a different IP address than your server? If so, the reason it's showing offline is probably a port problem (you'll need to have your webhost open your login server port)

  3. I understand that we're now using the Aegis Class System https://github.com/rathena/rathena/commit/dae81222a85f07455bd57276b5eafc6d407f33d0

     

     

    This being said, I'm using an old item_db.sql, with a lot of stuff I've edited. I don't mind doing the edits again, but on my test server, cards like AK don't work properly still. Even with the right coding, the damage they add is next to nothing. (Pre-RE Server)

     

    How can I fix this? Would changing it back to the old system be the easiest way?

     

    Thanks in advance.

  4. Looked everywhere, and the best I could find was a script on eAthena by Warped Erberus (here)

     

    This script is great and all, but it didn't sign the items (made it do that, and it seems to work if the person that's doing it is ranked. However, if, let's say I was wanting to put condensed whites, how would I made the condensed whites add to the @alchemist ranking?

    Any advice or input would be greatly appreciated!

    P.S. - Signs the items with getitem2.

  5. I looked around, and couldn't really find anything that was substantial enough for me to give this a try.

    It should be a relatively simple edit, but I want to make zeny account based instead of character based.

    After doing a bit of thinking, it should be 1-2 lines in the source to change the zeny to being account based rather than character based, and then of course an edit to make the sql account based as well.

    Just wondering if anyone has poked around with this before, or where to start (i don't know which src file I would edit, been poking around for a while).

  6. I simply don't want to waste my time trying to get this to work this way just to have it not work. I'm new to RO scripting, but you have to start somewhere right? :) Thanks for reading.

    mapname,x,y,z	script	npcname	id,{

    if(getgmlevel() < .Level) end;

    mes .n$;

    mes "What can I do for you?";

    switch(select("Start Automated Events:End Automated Events")){

    case 1:

    next;

    callfunc(startEvents);

    mes .n$;

    mes "Automated events started.";

    close;

    case 2:

    next;

    callfunc(endEvents);

    mes .n$;

    mes "Automated events ended.";

    close;

    }

    function eventMgr {

    OnClock0000:

    OnClock0600:

    OnClock1200:

    OnClock1800:

    callfunc(event1);

    OnClock0100:

    OnClock0700:

    OnClock1300:

    OnClock1900:

    callfunc(event2);

    OnClock0200:

    OnClock0800:

    OnClock1400:

    OnClock2000:

    callfunc(event3);

    OnClock0300:

    OnClock0900:

    OnClock1500:

    OnClock2100:

    callfunc(event4);

    OnClock0400:

    OnClock1000:

    OnClock1600:

    OnClock2200:

    callfunc(event5);

    OnClock0500:

    OnClock1100:

    OnClock1700:

    OnClock2300:

    callfunc(event6);

    }

    function startEvents {

    callfunc(eventMgr);

    }

    function endEvents {

    //Not sure how to end them all at once

    }

    function script event1 {

    }

    function script event2 {

    }

    function script event3 {

    }

    function script event4 {

    }

    function script event5 {

    }

    function script event6 {

    }

    // -------------------- Configuration --------------------

    OnInit:

    set .aLevel,99; // GM Level to access NPC

    set .n$,"[Event Manager]"; // NPC's Name

    setarray .EventMenu[0], //Set Event Names Below

    event1, // First Events Name

    event2, // Second Events Name

    event3, // Third Events Name

    event4, // Fourth Events Name

    event5; // Fifth Events Name

    // Add more events here.

    callfunc(eventMgr);

    end;

    }

  7. After looking for about 2 hours, I finally decided to make a support topic.

    Here's the problem:

    - All of my servers show ONLINE except for login which shows OFFLINE.

    - My ports are open for incoming AND outgoing connections

    - My webhost and RO host ARE on different hosts, but I'm sure I've entered all information correctly.

    - My timezone won't update, and I'm sure I set it right in application.php and server.php ('US/Central')

    If you guys have any suggestions I'd sure appreciate it. :)

  8. I've looked through ALL of the topics on the forum, and done EVERY step that it asks for, including what the rA Wiki says to do. I'm going to post everything you guys need, as well as explain the problem the best I can. 

     

    All of my servers connect without errors, I can connect just fine (127.0.0.1) set in MY clientinfo.xml inside my grf. I uploaded my complete folder (not with MY grf, but an exact copy with the exact same clientinfo.xml -- only with my WAN IP instead of my local ip). The person that is trying to connect keeps getting this error:

     

    [status]: Connection of account 'Xyndor' accepted.

    [info]: Closed connection from '67.219.88.126'.

    [Notice]: Abnormal end of connection (ip: xx.xxx.xx.xxx): Unknown packet 0x65

    [info]: Closed connection from 'xx.xxx.xx.xxx'.

     

    On the login server.

     

    I am using 2012-04-10aRagexeRE_S

    and also used the default

    2012-04-10aRagexeRE

     

    Here are all of my settings:

     

    packet_db.txt

     

    packet_db_ver: default
    
    (I also tried 30)

     

    packet_db.txt

     

    //2012-04-10aRagexeRE
    packet_ver: 30
    0x01FD,15,repairitem,2
    0x089C,26,friendslistadd,2
    0x0885,5,hommenu,2:4
    0x0961,36,storagepassword,0
    0x0288,-1,cashshopbuy,4:8
    0x091C,26,partyinvite2,2
    0x094B,19,wanttoconnection,2:6:10:14:18
    0x0369,7,actionrequest,2:6
    0x083C,10,useskilltoid,2:4:6
    0x0439,8,useitem,2:4
    0x0945,-1,itemlistwindowselected,2:4:8
    0x0815,-1,reqopenbuyingstore,2:4:8:9:89
    0x0817,2,reqclosebuyingstore,0
    0x0360,6,reqclickbuyingstore,2
    0x0811,-1,reqtradebuyingstore,2:4:8:12
    0x0819,-1,searchstoreinfo,2:4:5:9:13:14:15
    0x0835,2,searchstoreinfonextpage,0
    0x0838,12,searchstoreinfolistitemclick,2:6:10
    0x0437,5,walktoxy,2
    0x0886,6,ticksend,2
    0x0871,5,changedir,2:4
    0x0938,6,takeitem,2
    0x0891,6,dropitem,2:4
    0x086C,8,movetokafra,2:4
    0x08A6,8,movefromkafra,2:4
    0x0438,10,useskilltopos,2:4:6:8
    0x0366,90,useskilltoposinfo,2:4:6:8:10
    0x0889,6,getcharnamerequest,2
    0x0884,6,solvecharname,2
    0x08E5,41,bookingregreq,2:4    //Added to prevent disconnections
    0x08E6,4
    0x08E7,10,bookingsearchreq,2
    0x08E8,-1
    0x08E9,2,bookingdelreq,2
    0x08EA,4
    0x08EB,39,bookingupdatereq,2
    0x08EC,73
    0x08ED,43
    0x08EE,6
    0x08EF,6,bookingignorereq,2
    0x08F0,6
    0x08F1,6,bookingjoinpartyreq,2
    0x08F2,36
    0x08F3,-1
    0x08F4,6
    0x08F5,-1,bookingsummonmember,2:4
    0x08F6,22
    0x08F7,3
    0x08F8,7
    0x08F9,6
    0x08FA,6
    0x08FB,6,bookingcanceljoinparty,2
    0x0907,5,moveitem,2:4
    0x0908,5
    0x08D7,28,battlegroundreg,2:4 //Added to prevent disconnections
    0x08CF,10 //Amulet spirits
    0x0977,14 //Monster HP Bar
    
    mmo.h
    #ifndef PACKETVER
    	#define PACKETVER 20120410
    	//#define PACKETVER 20111116
    #endif
    
    clif.h
    enum
    {// packet DB
    	MAX_PACKET_DB  = 0xA00,
    	MAX_PACKET_VER = 30,
    	MAX_PACKET_POS = 20,
    };
    
    subnet_athena.conf
    subnet: 255.255.255.0:127.0.0.1:127.0.0.1
    subnet: 255.255.255.0:50.26.33.61:50.26.33.61
    subnet: 255.255.255.0:192.168.1.226:192.168.1.226
    
    char_athena.conf
    login_ip: 192.168.1.226
    char_ip: 50.26.33.61
    
    map_athena.conf
    char_ip: 192.168.1.226
    map_ip: 50.26.33.61
    
    My clientinfo.xml
    <?xml version="1.0" encoding="euc-kr" ?>
    <clientinfo>
    <servicetype>korea</servicetype>
    <servertype>sakray</servertype>
       <connection>
          <display>CalamityRO</display>
          <balloon></balloon>
          <desc></desc>
          <address>127.0.0.1</address>
          <port>6900</port>
          <version>30</version>
          <langtype>1</langtype>
          <registrationweb>calamityro.com/cp</registrationweb>
            <aid>
                <admin>2000000</admin>
    			<admin>2000001</admin>
    			<admin>2000002</admin>
            </aid>
            <loading>
                <image>loadingscreen01.jpg</image>
            </loading>
       </connection>
    </clientinfo>
    
    His clientinfo.xml
    <?xml version="1.0" encoding="euc-kr" ?>
    <clientinfo>
    <servicetype>korea</servicetype>
    <servertype>sakray</servertype>
       <connection>
          <display>CalamityRO</display>
          <balloon></balloon>
          <desc></desc>
          <address>50.26.33.61</address>
          <port>6900</port>
          <version>30</version>
          <langtype>1</langtype>
          <registrationweb>calamityro.com/cp</registrationweb>
            <aid>
                <admin>2000000</admin>
    			<admin>2000001</admin>
    			<admin>2000002</admin>
            </aid>
            <loading>
                <image>loadingscreen01.jpg</image>
            </loading>
       </connection>
    </clientinfo>
    
    To reiterate: everything is the same on both of our folders except the clientinfo.xml. It says "Disconnected from server" and gives me the error in the login server when he attempts to login.

    It looks kinda like a char server problem, but changing the IP of the char server makes neither of us able to connect. I can try it again to get the error message if necessary.

    Also, I unchecked read data folder first, unchecked the lua thing, and check the packet header in the diff(s) I made.

    UPDATE:

    When I change char_ip in map_athena.conf

    [Status]: Connecting to 50.26.33.61:6121
    [Status]: Logging in to char server . . .
    [Warning]: Connection to Char Server lost.
    
    Downloading the latest SVN from scratch and going to redo everything. Hopefully this fixes all of the issues :) Will update when I know for sure.

  9. --------------    08/28/2013 00:47:12    --------------
            Loaded assemblies : 
                mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
                GRF Editor, Version=1.3.7.685, Culture=neutral, PublicKeyToken=null
                System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
                PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
                WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
                PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
                System.Xaml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
                ErrorManager, Version=1.2.4982.5378, Culture=neutral, PublicKeyToken=null
                Utilities, Version=1.2.4982.5378, Culture=neutral, PublicKeyToken=null
                TokeiLibrary, Version=1.2.0.0, Culture=neutral, PublicKeyToken=null
                GRF, Version=1.2.4982.5380, Culture=neutral, PublicKeyToken=null
                System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
                ICSharpCode.AvalonEdit, Version=4.3.1.9429, Culture=neutral, PublicKeyToken=9cc39be672370310
                Be.Windows.Forms.HexBox, Version=1.5.0.34411, Culture=neutral, PublicKeyToken=e0e5adf0ebc99863
                System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
                System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
                WindowsFormsIntegration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
                System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
                PresentationFramework.Aero, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
                System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
                PresentationFramework-SystemXml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
                UIAutomationTypes, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
                Encryption, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
                System.Xml.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
                PresentationFramework-SystemXmlLinq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
                UIAutomationProvider, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
     
    System.InvalidOperationException: Cannot load Counter Name data because an invalid index '' was read from the registry.
       at System.Diagnostics.PerformanceCounterLib.GetStringTable(Boolean isHelp)
       at System.Diagnostics.PerformanceCounterLib.get_NameTable()
       at System.Diagnostics.PerformanceCounterLib.get_CategoryTable()
       at System.Diagnostics.PerformanceCounterLib.CounterExists(String category, String counter, Boolean& categoryExists)
       at System.Diagnostics.PerformanceCounterLib.CounterExists(String machine, String category, String counter)
       at System.Diagnostics.PerformanceCounter.InitializeImpl()
       at System.Diagnostics.PerformanceCounter.Initialize()
       at System.Diagnostics.PerformanceCounter.NextSample()
       at System.Diagnostics.PerformanceCounter.NextValue()
       at GRF.IO.CpuPerformance.GetCurrentCpuUsage()
       at GRFEditor.EditorMainWindow.<_loadCpuPerformance>b__b0()
       at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart()
    --------------      Inner exception      --------------

     

    Errors for me, wont start.

  10. After taking a look at Euphy's edit of Lunar's shop , it got me thinking:

     

    What would be the easiest way to make the quest(s) able to take turn ins of single items at once towards a certain item? (in case players can't carry all of the reqs)

     

    I know there's a quest script that does this already, but it would be ridiculous to make it store what each character gets individually.

     

    I was thinking of creating a new table and having it store things there, unless you guys have a simpler solution?

     

    Thanks in advance :)

  11. Let me explain what I'm doing first. I have an all in one NPC script (based on Euphy's -- but highly edited). Its menu options are

     

    1: Save

    2: Repair

    3: Identify

    4: Refine

    5: Stat/Skill Reset

    6: Card Removal

    7: Platinum Skills

    8: Renter

     

    I'm trying to find an easy way to create duplicate NPCs and have the same function to the relative map. The only thing that I can think of is to create an array that stores the towns and their X,Ys, using the Npc #(1-36) to pull those coordinates.

     

    If anyone has any suggestions I would greatly appreciate it. Thanks :)

×
×
  • Create New...