Jump to content
  • 0
Sign in to follow this  
Maple

Screenshot Twitter

Question

Hi, I would like to know how I make this function work ... to post to Twitter

screen_Go_RAG000.jpg

clientinfo.xml

<?xml version="1.0" encoding="euc-kr" ?>
<clientinfo>
	<servicetype>korea</servicetype>
	<servertype>sakray</servertype>
	<connection>
		<display> Private </display>
		<desc> Private </desc>
		<balloon> Private </balloon>
      		<address>127.0.0.1</address>
      		<port>6900</port>
      		<version>56</version>
      		<langtype>1</langtype>

data\luafiles514\lua files\service_korea\ExternalSettings_kr.lub and externalsettings_kr_sak.lub

MaxLevelTable = {
	BaseLevel = 300,
	BaseLevel3rd = 300,
	BaseLevelExtend2 = 300,
	BaseLevelUpperJob = 300,
	BaseLevelHomun = 300,
	BaseLevelDoram = 300,
	JobLevelNovice = 10,
	JobLevelSuperNovice = 150,
	JobLevelBase = 50,
	JobLevel2nd = 100,
	JobLevel3rd = 150,
	JobLevelExtend2 = 100,
	JobLevelUpperJob = 150,
	JobLevelDoram = 150
}
MakeableRace = {Doram = true}
Url = {
	TwitterUrl = "http://127.0.0.1:3000/"
}

function GetTableIntValueForC(tableName, keyName)
	local t = _G[tableName]
	if nil == t then
		return -1
	end
	local intValue = t[keyName]
	if nil == intValue then
		return -1
	else
		return intValue
	end
end

function GetTableStringValueForC(tableName, keyName)
	local t = _G[tableName]
	if nil == t then
		return ""
	end
	local stringValue = t[keyName]
	if nil == stringValue then
		return ""
	else
		return stringValue
	end
end

function GetTableBoolValueForC(tableName, keyName)
	local t = _G[tableName]
	if nil == t then
		return false
	end
	local boolValue = t[keyName]
	if nil == boolValue then
		return false
	else
		return boolValue
	end
end

PS: I already tried with 127.0.0.1 and the IP that came in it:  TwitterUrl = "http://112.175.128.140:3000/"

However, it opens the window and only the white screen disappears and then closes... I'm using Hexed 2017-06-14

Edited by Dream Catcher

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.