troglodite Posted April 22, 2013 Author Share Posted April 22, 2013 Hello!I added [this system](http://www.touchofdeathforums.com/community/index.php?/topic/121870-eo-advanced-doors-keys-and-switches-v-30/) but didnt work, and I paste everything, I review all the code like 4 times and its _all right_But when I click on **"cmdADoor"** button on the Admin Panel (that button allows you to see the **"frmEditor_Doors"**) nothing appears ![:(](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/sad.png)Somebody haved the same trouble? Can you help me?>! ![](http://i34.tinypic.com/2d8hmoy.jpg) >! ```Private Sub cmdADoor_Click()>! ' If debug mode, handle error then exit out>! If Options.Debug = 1 Then On Error GoTo errorhandler>! If GetPlayerAccess(MyIndex) < ADMIN_DEVELOPER Then>! >! Exit Sub>! End If>! SendRequestEditdoors>! ' Error handler>! Exit Sub>! errorhandler:>! HandleError "cmdADoor_Click", "frmMain", Err.Number, Err.Description, Err.Source, Err.HelpContext>! Err.Clear>! Exit Sub>! End Sub``` Thx for reading ![:)](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/smile.png) Link to comment Share on other sites More sharing options...
boyesjs03 Posted April 22, 2013 Share Posted April 22, 2013 Have you named the button in properties? "CmdADoor"Right click the button click properties, its the top box. Link to comment Share on other sites More sharing options...
troglodite Posted April 22, 2013 Author Share Posted April 22, 2013 > Have you named the button in properties? "CmdADoor"> > Right click the button click properties, its the top box.Yeah ![:(](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/sad.png)> …But when I click on **"cmdADoor"** button on the Admin Panel… Link to comment Share on other sites More sharing options...
Matt Posted April 22, 2013 Share Posted April 22, 2013 Follow the packet and make sure that its sent, and received by the client, and that the server-sided packet is sent, and received by the server. Link to comment Share on other sites More sharing options...
Link Posted April 22, 2013 Share Posted April 22, 2013 > Follow the packet and make sure that its sent, and received by the client, and that the server-sided packet is sent, and received by the server.No offense to the original post, but if he doesn't know why it's happening I don't think he'd know what to do as far as packets. Probably a better idea if he sent the folder to one of us, or paste the packet details here to have someone see if there's an error.If I'm wrong about any of this feel free to tell me off, otherwise just make a post if you don't know how to track the packet down and see if there's miscommunication. Link to comment Share on other sites More sharing options...
boyesjs03 Posted April 22, 2013 Share Posted April 22, 2013 // Off topic.Did you win the lottery at some point brig? Link to comment Share on other sites More sharing options...
Matt Posted April 23, 2013 Share Posted April 23, 2013 > No offense to the original post, but if he doesn't know why it's happening I don't think he'd know what to do as far as packets. Probably a better idea if he sent the folder to one of us, or paste the packet details here to have someone see if there's an error.> > If I'm wrong about any of this feel free to tell me off, otherwise just make a post if you don't know how to track the packet down and see if there's miscommunication.True, but I'm just trying to give him a chance to learn. Link to comment Share on other sites More sharing options...
damian666 Posted April 23, 2013 Share Posted April 23, 2013 lol, here we go again mate xdwe cant help without seeying the code, you know the drill, pack it up and send it over, ill check it for you, again ![:P](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/tongue.png) Link to comment Share on other sites More sharing options...
troglodite Posted April 23, 2013 Author Share Posted April 23, 2013 I think I have to learn someday xD so, I´ll post the codes that I think are the packets of client that sent to the server>! ```>! ' Packets sent by server to client>! Public Enum ServerPackets>! SAlertMsg = 1>! SLoginOk>! SNewCharClasses>! SClassesData>! SInGame>! SPlayerInv>! SPlayerInvUpdate>! SPlayerWornEq>! SPlayerHp>! SPlayerMp>! SPlayerStats>! SPlayerData>! SPlayerMove>! SNpcMove>! SPlayerDir>! SNpcDir>! SPlayerXY>! SPlayerXYMap>! SAttack>! SNpcAttack>! SCheckForMap>! SMapData>! SMapItemData>! SMapNpcData>! SMapDone>! SGlobalMsg>! SAdminMsg>! SPlayerMsg>! SMapMsg>! SSpawnItem>! SItemEditor>! SUpdateItem>! SREditor>! SSpawnNpc>! SNpcDead>! SNpcEditor>! SUpdateNpc>! SMapKey>! SEditMap>! SShopEditor>! SUpdateShop>! SSpellEditor>! SUpdateSpell>! SSpells>! SLeft>! SResourceCache>! SResourceEditor>! SUpdateResource>! SSendPing>! SDoorAnimation>! SActionMsg>! SPlayerEXP>! SBlood>! SAnimationEditor>! SUpdateAnimation>! SAnimation>! SMapNpcVitals>! SCooldown>! SClearSpellBuffer>! SSayMsg>! SOpenShop>! SResetShopAction>! SStunned>! SMapWornEq>! SBank>! STrade>! SCloseTrade>! STradeUpdate>! STradeStatus>! STarget>! SHotbar>! SHighIndex>! SSound>! STradeRequest>! SPartyInvite>! SPartyUpdate>! SPartyVitals>! SHandleProjectile>! SQuestEditor>! SUpdateQuest>! SPlayerQuest>! SQuestMessage>! SDoorsEditor>! SUpdateDoors>! ' Make sure SMSG_COUNT is below everything else>! SMSG_COUNT>! End Enum>! ' Packets sent by client to server>! Public Enum ClientPackets>! CNewAccount = 1>! CDelAccount>! CLogin>! CAddChar>! CUseChar>! CSayMsg>! CEmoteMsg>! CBroadcastMsg>! CPlayerMsg>! CPlayerMove>! CPlayerDir>! CUseItem>! CAttack>! CUseStatPoint>! CPlayerInfoRequest>! CWarpMeTo>! CWarpToMe>! CWarpTo>! CSetSprite>! CGetStats>! CRequestNewMap>! CMapData>! CNeedMap>! CMapGetItem>! CMapDropItem>! CMapRespawn>! CMapReport>! CKickPlayer>! CBanList>! CBanDestroy>! CBanPlayer>! CRequestEditMap>! CRequestEditItem>! CSaveItem>! CRequestEditNpc>! CSaveNpc>! CRequestEditShop>! CSaveShop>! CRequestEditSpell>! CSaveSpell>! CSetAccess>! CWhosOnline>! CSetMotd>! CSearch>! CSpells>! CCast>! CQuit>! CSwapInvSlots>! CRequestEditResource>! CSaveResource>! CCheckPing>! CUnequip>! CRequestPlayerData>! CRequestItems>! CRequestNPCS>! CRequestResources>! CSpawnItem>! CRequestEditAnimation>! CSaveAnimation>! CRequestAnimations>! CRequestSpells>! CRequestShops>! CRequestLevelUp>! CForgetSpell>! CCloseShop>! CBuyItem>! CSellItem>! CChangeBankSlots>! CDepositItem>! CWithdrawItem>! CCloseBank>! CAdminWarp>! CTradeRequest>! CAcceptTrade>! CDeclineTrade>! CTradeItem>! CUntradeItem>! CHotbarChange>! CHotbarUse>! CSwapSpellSlots>! CAcceptTradeRequest>! CDeclineTradeRequest>! CPartyRequest>! CAcceptParty>! CDeclineParty>! CPartyLeave>! CProjecTileAttack>! CRequestEditQuest>! CSaveQuest>! CRequestQuests>! CPlayerHandleQuest>! CQuestLogUpdate>! CSaveDoor>! CRequestDoors>! CRequestEditDoors>! ' Make sure CMSG_COUNT is below everything else>! CMSG_COUNT>! End Enum>! ``` >! ```>! Public Enum ServerPackets>! SAlertMsg = 1>! SLoginOk>! SNewCharClasses>! SClassesData>! SInGame>! SPlayerInv>! SPlayerInvUpdate>! SPlayerWornEq>! SPlayerHp>! SPlayerMp>! SPlayerStats>! SPlayerData>! SPlayerMove>! SNpcMove>! SPlayerDir>! SNpcDir>! SPlayerXY>! SPlayerXYMap>! SAttack>! SNpcAttack>! SCheckForMap>! SMapData>! SMapItemData>! SMapNpcData>! SMapDone>! SGlobalMsg>! SAdminMsg>! SPlayerMsg>! SMapMsg>! SSpawnItem>! SItemEditor>! SUpdateItem>! SREditor>! SSpawnNpc>! SNpcDead>! SNpcEditor>! SUpdateNpc>! SMapKey>! SEditMap>! SShopEditor>! SUpdateShop>! SSpellEditor>! SUpdateSpell>! SSpells>! SLeft>! SResourceCache>! SResourceEditor>! SUpdateResource>! SSendPing>! SDoorAnimation>! SActionMsg>! SPlayerEXP>! SBlood>! SAnimationEditor>! SUpdateAnimation>! SAnimation>! SMapNpcVitals>! SCooldown>! SClearSpellBuffer>! SSayMsg>! SOpenShop>! SResetShopAction>! SStunned>! SMapWornEq>! SBank>! STrade>! SCloseTrade>! STradeUpdate>! STradeStatus>! STarget>! SHotbar>! SHighIndex>! SSound>! STradeRequest>! SPartyInvite>! SPartyUpdate>! SPartyVitals>! SHandleProjectile>! 'ALATAR>! SQuestEditor>! SUpdateQuest>! SPlayerQuest>! SQuestMessage>! '/ALATAR>! SSpawnEvent>! SEventMove>! SEventDir>! SEventChat>! SEventStart>! SEventEnd>! SPlayBGM>! SPlaySound>! SFadeoutBGM>! SStopSound>! SSwitchesAndVariables>! SMapEventData>! SDoorsEditor>! SUpdateDoors>! ' Make sure SMSG_COUNT is below everything else>! SMSG_COUNT>! End Enum>! ' Packets sent by client to server>! Public Enum ClientPackets>! CNewAccount = 1>! CDelAccount>! CLogin>! CAddChar>! CUseChar>! CSayMsg>! CEmoteMsg>! CBroadcastMsg>! CPlayerMsg>! CPlayerMove>! CPlayerDir>! CUseItem>! CAttack>! CUseStatPoint>! CPlayerInfoRequest>! CWarpMeTo>! CWarpToMe>! CWarpTo>! CSetSprite>! CGetStats>! CRequestNewMap>! CMapData>! CNeedMap>! CMapGetItem>! CMapDropItem>! CMapRespawn>! CMapReport>! CKickPlayer>! CBanList>! CBanDestroy>! CBanPlayer>! CRequestEditMap>! CRequestEditItem>! CSaveItem>! CRequestEditNpc>! CSaveNpc>! CRequestEditShop>! CSaveShop>! CRequestEditSpell>! CSaveSpell>! CSetAccess>! CWhosOnline>! CSetMotd>! CSearch>! CSpells>! CCast>! CQuit>! CSwapInvSlots>! CRequestEditResource>! CSaveResource>! CCheckPing>! CUnequip>! CRequestPlayerData>! CRequestItems>! CRequestNPCS>! CRequestResources>! CSpawnItem>! CRequestEditAnimation>! CSaveAnimation>! CRequestAnimations>! CRequestSpells>! CRequestShops>! CRequestLevelUp>! CForgetSpell>! CCloseShop>! CBuyItem>! CSellItem>! CChangeBankSlots>! CDepositItem>! CWithdrawItem>! CCloseBank>! CAdminWarp>! CTradeRequest>! CAcceptTrade>! CDeclineTrade>! CTradeItem>! CUntradeItem>! CHotbarChange>! CHotbarUse>! CSwapSpellSlots>! CAcceptTradeRequest>! CDeclineTradeRequest>! CPartyRequest>! CAcceptParty>! CDeclineParty>! CPartyLeave>! CProjecTileAttack>! 'ALATAR>! CRequestEditQuest>! CSaveQuest>! CRequestQuests>! CPlayerHandleQuest>! CQuestLogUpdate>! '/ALATAR>! CEventChatReply>! CEvent>! CSwitchesAndVariables>! CRequestSwitchesAndVariables>! CSaveDoor>! CRequestDoors>! CRequestEditDoors>! ' Make sure CMSG_COUNT is below everything else>! CMSG_COUNT>! End Enum>! ``` >! ```>! CSaveDoor>! CRequestDoors>! CRequestEditDoors>! ``````>! SDoorsEditor>! SUpdateDoors>! ``` Is it right? Are these? Link to comment Share on other sites More sharing options...
damian666 Posted April 23, 2013 Share Posted April 23, 2013 its good you want to learn, but without the code in client and server, the enumerations are useless, i cant follow the trail like this.i need every piece of code, from the sub thats called when ya press the button, to the sub that handles it server side. thats why i said pack it up again xd Link to comment Share on other sites More sharing options...
troglodite Posted April 23, 2013 Author Share Posted April 23, 2013 > its good you want to learn, but without the code in client and server, the enumerations are useless, i cant follow the trail like this.> > i need every piece of code, from the sub thats called when ya press the button, to the sub that handles it server side. thats why i said pack it up again xdYou are my hero, I´ll do it Link to comment Share on other sites More sharing options...
damian666 Posted April 23, 2013 Share Posted April 23, 2013 k, just make sure i can login this time please?i know your afraid of your items and other graphics, but when ya delete them, i get errors xdso make a test account or something that doesnt error ![:P](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/tongue.png) Link to comment Share on other sites More sharing options...
troglodite Posted April 23, 2013 Author Share Posted April 23, 2013 > k, just make sure i can login this time please?> > i know your afraid of your items and other graphics, but when ya delete them, i get errors xd> > so make a test account or something that doesnt error ![:P](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/tongue.png)Yeah, its Ok ![:P](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/tongue.png)User: TestPassw: 1234Its as default Link to comment Share on other sites More sharing options...
damian666 Posted April 23, 2013 Share Posted April 23, 2013 ok, found it, your enumerations are waaaaay off, server has different ones then your client.to fix it, copy your server and client enumerations to your client, overwriting the old ones, then it works ![:)](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/smile.png)>! ' Packets sent by server to client>! Public Enum ServerPackets>! SAlertMsg = 1>! SLoginOk>! SNewCharClasses>! SClassesData>! SInGame>! SPlayerInv>! SPlayerInvUpdate>! SPlayerWornEq>! SPlayerHp>! SPlayerMp>! SPlayerStats>! SPlayerData>! SPlayerMove>! SNpcMove>! SPlayerDir>! SNpcDir>! SPlayerXY>! SPlayerXYMap>! SAttack>! SNpcAttack>! SCheckForMap>! SMapData>! SMapItemData>! SMapNpcData>! SMapDone>! SGlobalMsg>! SAdminMsg>! SPlayerMsg>! SMapMsg>! SSpawnItem>! SItemEditor>! SUpdateItem>! SREditor>! SSpawnNpc>! SNpcDead>! SNpcEditor>! SUpdateNpc>! SMapKey>! SEditMap>! SShopEditor>! SUpdateShop>! SSpellEditor>! SUpdateSpell>! SSpells>! SLeft>! SResourceCache>! SResourceEditor>! SUpdateResource>! SSendPing>! SDoorAnimation>! SActionMsg>! SPlayerEXP>! SBlood>! SAnimationEditor>! SUpdateAnimation>! SAnimation>! SMapNpcVitals>! SCooldown>! SClearSpellBuffer>! SSayMsg>! SOpenShop>! SResetShopAction>! SStunned>! SMapWornEq>! SBank>! STrade>! SCloseTrade>! STradeUpdate>! STradeStatus>! STarget>! SHotbar>! SHighIndex>! SSound>! STradeRequest>! SPartyInvite>! SPartyUpdate>! SPartyVitals>! SHandleProjectile>! 'ALATAR>! SQuestEditor>! SUpdateQuest>! SPlayerQuest>! SQuestMessage>! '/ALATAR>! SSpawnEvent>! SEventMove>! SEventDir>! SEventChat>! SEventStart>! SEventEnd>! SPlayBGM>! SPlaySound>! SFadeoutBGM>! SStopSound>! SSwitchesAndVariables>! SMapEventData>! SDoorsEditor>! SUpdateDoors>! ' Make sure SMSG_COUNT is below everything else>! SMSG_COUNT>! End Enum>! ' Packets sent by client to server>! Public Enum ClientPackets>! CNewAccount = 1>! CDelAccount>! CLogin>! CAddChar>! CUseChar>! CSayMsg>! CEmoteMsg>! CBroadcastMsg>! CPlayerMsg>! CPlayerMove>! CPlayerDir>! CUseItem>! CAttack>! CUseStatPoint>! CPlayerInfoRequest>! CWarpMeTo>! CWarpToMe>! CWarpTo>! CSetSprite>! CGetStats>! CRequestNewMap>! CMapData>! CNeedMap>! CMapGetItem>! CMapDropItem>! CMapRespawn>! CMapReport>! CKickPlayer>! CBanList>! CBanDestroy>! CBanPlayer>! CRequestEditMap>! CRequestEditItem>! CSaveItem>! CRequestEditNpc>! CSaveNpc>! CRequestEditShop>! CSaveShop>! CRequestEditSpell>! CSaveSpell>! CSetAccess>! CWhosOnline>! CSetMotd>! CSearch>! CSpells>! CCast>! CQuit>! CSwapInvSlots>! CRequestEditResource>! CSaveResource>! CCheckPing>! CUnequip>! CRequestPlayerData>! CRequestItems>! CRequestNPCS>! CRequestResources>! CSpawnItem>! CRequestEditAnimation>! CSaveAnimation>! CRequestAnimations>! CRequestSpells>! CRequestShops>! CRequestLevelUp>! CForgetSpell>! CCloseShop>! CBuyItem>! CSellItem>! CChangeBankSlots>! CDepositItem>! CWithdrawItem>! CCloseBank>! CAdminWarp>! CTradeRequest>! CAcceptTrade>! CDeclineTrade>! CTradeItem>! CUntradeItem>! CHotbarChange>! CHotbarUse>! CSwapSpellSlots>! CAcceptTradeRequest>! CDeclineTradeRequest>! CPartyRequest>! CAcceptParty>! CDeclineParty>! CPartyLeave>! CProjecTileAttack>! 'ALATAR>! CRequestEditQuest>! CSaveQuest>! CRequestQuests>! CPlayerHandleQuest>! CQuestLogUpdate>! '/ALATAR>! CEventChatReply>! CEvent>! CSwitchesAndVariables>! CRequestSwitchesAndVariables>! CSaveDoor>! CRequestDoors>! CRequestEditDoors>! ' Make sure CMSG_COUNT is below everything else>! CMSG_COUNT>! End Enum those are the right ones Link to comment Share on other sites More sharing options...
troglodite Posted April 23, 2013 Author Share Posted April 23, 2013 Omg, "your enumerations are waaaaay off, server has different ones then your client" ? O.OSo I pasted it bad Link to comment Share on other sites More sharing options...
troglodite Posted April 23, 2013 Author Share Posted April 23, 2013 Its works ![:D](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/biggrin.png)!!! Thank youSolved ![:)](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/smile.png) Link to comment Share on other sites More sharing options...
damian666 Posted April 23, 2013 Share Posted April 23, 2013 its just hard to see without context man, took me a while to find it :-) Link to comment Share on other sites More sharing options...
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