Guest Posted February 19, 2013 Share Posted February 19, 2013 Basically there's a problem in EO in that if you change the value on a scroll bar (e.g. resources) it will still place the previous one. There is a clean copy of an EO 2.0.2 frmEditor_Map at the bottom of this topic for those who haven't edited theirs.Add this (in sub scrlResource_Change):```ResourceEditorNum = scrlResource.value```Under:```lblResource.Caption = "Resource: " & Resource(scrlResource.value).name```–----Add this (in sub scrlMapWarp_Change):```EditorWarpMap = scrlMapWarp.value```Under:```lblMapWarp.Caption = "Map: " & scrlMapWarp.value```(Repeat this for EditorWarpX in scrlMapWarpX_Change and EditorWarpY in scrlMapWarpY_Change)–---Add this to the top of frmEditor_Map:```Private Sub cmbShop_Click()' If debug mode, handle error then exit outIf Options.Debug = 1 Then On Error GoTo errorhandlerEditorShop = cmbShop.ListIndex' Error handlerExit Suberrorhandler:HandleError "cmbShop_Click", "frmEditor_Map", Err.Number, Err.Description, Err.Source, Err.HelpContextErr.ClearExit SubEnd Sub```–---Add this (in sub scrlKeyX_Change):```KeyOpenEditorX = scrlKeyX.value```Under:```lblKeyX.Caption = "X: " & scrlKeyX.value```(Repeat this for KeyOpenEditorY in sub scrlKeyY_Change)–---Add this (in sub scrlMapKey_Change):```KeyEditorNum = scrlMapKey.value```Under:```lblMapKey.Caption = "Item: " & Trim$(Item(scrlMapKey.value).name)```–---Add this to the top of frmEditor_Map:```Private Sub chkMapKey_Click()' If debug mode, handle error then exit outIf Options.Debug = 1 Then On Error GoTo errorhandlerKeyEditorTake = chkMapKey.value' Error handlerExit Suberrorhandler:HandleError "chkMapKey_Click", "frmEditor_Map", Err.Number, Err.Description, Err.Source, Err.HelpContextErr.ClearExit SubEnd Sub```–---Add this (in sub scrlMapItem_Change):```ItemEditorNum = scrlMapItem.value```Under:```lblMapItem.Caption = Trim$(Item(scrlMapItem.value).name) & " x" & scrlMapItemValue.value```–---Add this (in sub scrlMapItemValue_Change):```ItemEditorValue = scrlMapItemValue.value```Under:```lblMapItem.Caption = Trim$(Item(scrlMapItem.value).name) & " x" & scrlMapItemValue.value```–---Add this to the top of frmEditor_Map:```Private Sub cmbSlide_Click()' If debug mode, handle error then exit outIf Options.Debug = 1 Then On Error GoTo errorhandlerMapEditorSlideDir = cmbSlide.ListIndex' Error handlerExit Suberrorhandler:HandleError "cmbSlide_Click", "frmEditor_Map", Err.Number, Err.Description, Err.Source, Err.HelpContextErr.ClearExit SubEnd Sub```–---Add this (in sub scrlTrap_Change):```MapEditorHealAmount = scrlTrap.value```Under:```lblTrap.Caption = "Amount: " & scrlTrap.value```–---Add this to the top of frmEditor_Map:```Private Sub cmbHeal_Click()' If debug mode, handle error then exit outIf Options.Debug = 1 Then On Error GoTo errorhandlerMapEditorHealType = cmbHeal.ListIndex + 1' Error handlerExit Suberrorhandler:HandleError "cmbHeal_Click", "frmEditor_Map", Err.Number, Err.Description, Err.Source, Err.HelpContextErr.ClearExit SubEnd Sub```–---Add this (in sub scrlHeal_Change):```MapEditorHealAmount = scrlHeal.value```Under:```lblHeal.Caption = "Amount: " & scrlHeal.value```–---Add this to the top of frmEditor_Map:```Private Sub lstNpc_Click()' If debug mode, handle error then exit outIf Options.Debug = 1 Then On Error GoTo errorhandlerSpawnNpcNum = lstNpc.ListIndex + 1' Error handlerExit Suberrorhandler:HandleError "lstNpc_Click", "frmEditor_Map", Err.Number, Err.Description, Err.Source, Err.HelpContextErr.ClearExit SubEnd Sub```–---Under the Select Case block (in scrlNPCDir_Change) add this:```SpawnNpcDir = scrlNpcDir.value```–---I realise that's a lot of work so here's a copy of a clean EO 2.0.2 frmEditor_Map:[http://pastebin.com/n9xWaVbS](http://pastebin.com/n9xWaVbS) Link to comment Share on other sites More sharing options...
boyesjs03 Posted February 19, 2013 Share Posted February 19, 2013 Nice fix, not too major though, only admins/devs will encounter this problem so its not a biggie :-) Link to comment Share on other sites More sharing options...
Valentine90 Posted February 23, 2013 Share Posted February 23, 2013 This fix is ​​for Original EO v2 (Robin)? Link to comment Share on other sites More sharing options...
Guest Posted February 23, 2013 Share Posted February 23, 2013 Yeah. Link to comment Share on other sites More sharing options...
Valentine90 Posted March 26, 2013 Share Posted March 26, 2013 Could you explain better what it is this fix? what problem had in Eclipse Origins v2 what was corrected by you? I'm not understanding. 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