Jump to content
  • 0

Screenshot Twitter


Haikenz

Question


  • Group:  Members
  • Topic Count:  84
  • Topics Per Day:  0.02
  • Content Count:  309
  • Reputation:   82
  • Joined:  11/15/11
  • Last Seen:  

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

 

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  76
  • Reputation:   4
  • Joined:  11/15/11
  • Last Seen:  

Use this: this is the port 3000

https://gist.github.com/anildigital/911289

 

4 hours ago, Dream Catcher said:

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

 

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  84
  • Topics Per Day:  0.02
  • Content Count:  309
  • Reputation:   82
  • Joined:  11/15/11
  • Last Seen:  

3 hours ago, randell1993 said:

Use this: this is the port 3000

https://gist.github.com/anildigital/911289

I was looking and I saw that you do not have this file

http://localhost:3000/socket.io/socket.io.js

server.js This user and password would be from the ragnarok database server?

var config = {
    user: "",
    password: "",
    track: ["ipl"]},

 

Link to comment
Share on other sites

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.   Paste as plain text instead

  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.

×
×
  • Create New...