Help for Wiki Ingame by .Kory

02/15/2015 19:12 DanieleGalmax#1
Hello people, I'm Italian, sorry for my bad English.
I'm new in this area and I would like to implement the wiki ingame by Kory. There is someone willing to help me? thanks in advance.

Bye:)
02/15/2015 21:56 gerald500#2
in the release from the wiki system is defined how to add this on your server
02/16/2015 15:28 DanieleGalmax#3
Quote:
Originally Posted by gerald500 View Post
in the release from the wiki system is defined how to add this on your server
[Only registered and activated users can see links. Click Here To Register...]

Maybe I am blind but I see howto here
02/16/2015 20:17 Nick#4
[Only registered and activated users can see links. Click Here To Register...] should help.

Greetings
02/16/2015 23:12 DanieleGalmax#5
Quote:
Originally Posted by .JayZoN View Post
[Only registered and activated users can see links. Click Here To Register...] should help.

Greetings
I have follow the tutorial step by step; I have put the files: uiwiki.py and wiki.py in root.eix .. it's correct?

This is my syserr:


0216 23:05:36496 ::
networkModule.py(line:194) SetSelectCharacterPhase
system.py(line:130) __pack_import
system.py(line:110) _process_result
introSelect.py(line:28) ?
system.py(line:130) __pack_import

networkModule.SetSelectCharacterPhase - exceptions.IndentationError:expected an indented block (line 131)

0216 23:05:36496 :: ================================================== ================================================== ========
0216 23:05:36496 :: Abort!!!!

Bye
02/16/2015 23:32 Nick#6
Quote:
Originally Posted by DanieleGalmax View Post
expected an indented block (line 131)
Please upload your edited files.

Greetings
02/17/2015 19:44 DanieleGalmax#7
Quote:
Originally Posted by .JayZoN View Post
Please upload your edited files.

Greetings
This is my locale_it-->ui-->taskbar.py

Code:
{
							"name" : "QuickPageDownButton",
							"type" : "button",
							"tooltip_text" : uiScriptLocale.TASKBAR_NEXT_QUICKSLOT,

							"x" : 1,
							"y" : 24,

							"default_image" : ROOT + "TaskBar/QuickSlot_DownButton_01.sub",
							"over_image" : ROOT + "TaskBar/QuickSlot_DownButton_02.sub",
							"down_image" : ROOT + "TaskBar/QuickSlot_DownButton_03.sub",
						},
						{
							"name" : "WikkiButton",
							"type" : "button",

							"x" : SCREEN_WIDTH - 208,
							"y" : 3 + Y_ADD_POSITION,

							"tooltip_text" : uiScriptLocale.TASKBAR_WIKKI,

							"default_image" : ROOT + "TaskBar/System_Button_01.sub",
							"over_image" : ROOT + "TaskBar/System_Button_02.sub",
							"down_image" : ROOT + "TaskBar/System_Button_03.sub",
						}, 
					),
				},
			),
		},

	),
}
This is my root-->uitaskbar.py

Code:
toggleButtonDict = {}
		toggleButtonDict[TaskBar.BUTTON_CHARACTER]=self.GetChild("CharacterButton")
		toggleButtonDict[TaskBar.BUTTON_INVENTORY]=self.GetChild("InventoryButton")
		toggleButtonDict[TaskBar.BUTTON_MESSENGER]=self.GetChild("MessengerButton")
		toggleButtonDict[TaskBar.BUTTON_SYSTEM]=self.GetChild("SystemButton")
		toggleButtonDict[TaskBar.BUTTON_CHAT]=self.GetChild("ChatButton")
		toggleButtonDict[TaskBar.BUTTON_WIKKI]=self.GetChild("WikkiButton")
And


Code:
class TaskBar(ui.ScriptWindow):

	BUTTON_CHARACTER = 0
	BUTTON_INVENTORY = 1
	BUTTON_MESSENGER = 2
	BUTTON_SYSTEM = 3
	BUTTON_CHAT = 4
	BUTTON_WIKKI = 5

This is my interfacemodule.py

Code:
	def __MakeTaskBar(self):
		wndTaskBar = uiTaskBar.TaskBar()
		wndTaskBar.LoadWindow()
		self.wndTaskBar = wndTaskBar
		self.wndTaskBar.SetToggleButtonEvent(uiTaskBar.TaskBar.BUTTON_CHARACTER, ui.__mem_func__(self.ToggleCharacterWindowStatusPage))
		self.wndTaskBar.SetToggleButtonEvent(uiTaskBar.TaskBar.BUTTON_INVENTORY, ui.__mem_func__(self.ToggleInventoryWindow))
		self.wndTaskBar.SetToggleButtonEvent(uiTaskBar.TaskBar.BUTTON_MESSENGER, ui.__mem_func__(self.ToggleMessenger))
		self.wndTaskBar.SetToggleButtonEvent(uiTaskBar.TaskBar.BUTTON_SYSTEM, ui.__mem_func__(self.ToggleSystemDialog))
		self.wndTaskBar.SetToggleButtonEvent(uiTaskBar.TaskBar.BUTTON_CHAT, ui.__mem_func__(self.ToggleChat))
		self.wndTaskBar.SetToggleButtonEvent(uiTaskBar.TaskBar.BUTTON_WIKKI, ui.__mem_func__(self.OnWiki))
	def __OnWiki(self):
        import wiki
        import uiwiki
        self.wiki = uiwiki.AgeofPlatonWiki()
        self.wiki.Show()
And in locale_interface.txt I have put this:
Code:
TASKBAR_WIKKI    Wikkisystem
at the end of the page.

The files uiwiki.py and wiki.py are in root, it's correct?


Greetings.
02/17/2015 21:13 Nick#8
There is an issue with the tabs (= indentation) so it's highly recommended to upload your edited files, snippets are not really helpful here.
02/17/2015 22:31 DanieleGalmax#9
Quote:
Originally Posted by .JayZoN View Post
There is an issue with the tabs (= indentation) so it's highly recommended to upload your edited files, snippets are not really helpful here.

Oh sorry.

[Only registered and activated users can see links. Click Here To Register...]
02/18/2015 22:06 DanieleGalmax#10
Quote:
Originally Posted by .JayZoN View Post
There is an issue with the tabs (= indentation) so it's highly recommended to upload your edited files, snippets are not really helpful here.


Can you help me please?
02/18/2015 22:40 Nick#11
Quote:
Originally Posted by DanieleGalmax View Post
@.JayZoN

Can you help me please?
Should be fixed now, download in attachment.

Greetings