Page 10 of 14

Re: Ancient Treasures waypoint

Posted: Sat Jan 14, 2012 10:08 am
by lisa
Hmm I don't have latest version but version I do have uses this

Code: Select all

	_Elemental = GetIdName(113614)
	if player:findNearestNameOrId(_Elemental) then
So it should work on any language client, unless I edited that in, not sure.

Re: Ancient Treasures waypoint

Posted: Sat Jan 14, 2012 10:11 am
by rock5
The problem is the hyphen in your language name '-'. It interferes with pattern matching when trying to match the name. Try this.

Change

Code: Select all

_Elemental = GetIdName(113614)
to

Code: Select all

_Elemental = "Elementar.Kerzenleuchter"
The dot '.' just means "any character".

Re: Ancient Treasures waypoint

Posted: Sat Jan 14, 2012 10:27 am
by Sithlord512589
Thanks rock5,
will try it tomorrow and report the success i guess :D

Just as expected :D

It´s working.... yeah

Thanks to all involved to make this possible

So here´s to any german client user my translated version

Re: Ancient Treasures waypoint

Posted: Mon Jan 16, 2012 7:00 pm
by M4gm4
rock5 wrote:The problem is the hyphen in your language name '-'. It interferes with pattern matching when trying to match the name. Try this.

Change

Code: Select all

_Elemental = GetIdName(113614)
to

Code: Select all

_Elemental = "Elementar.Kerzenleuchter"
The dot '.' just means "any character".
works fine

Re: Ancient Treasures waypoint

Posted: Fri Jan 20, 2012 2:06 am
by berlin25
It doesn't :( After the first elemental candle nothing more happens...

Re: Ancient Treasures waypoint

Posted: Fri Jan 20, 2012 5:05 am
by M4gm4
Hast du auch die deutsche variante von Sithlord512589 genommen ?

Have you taken the German variant of Sithlord512589 ?

Re: Ancient Treasures waypoint

Posted: Fri Jan 20, 2012 5:58 am
by berlin25
Ja, das habe ich. Habe ihr nun schon 3 Chancen gegeben und entweder hängt mein char an einem torbogen oder nach dem Anzünden der ersten Kerze fest.

Yes I did. I gave it 3 chances and there was no success. My char gets stucked after burning the first candle or when it flies through a door.

Edit: yeah! bi-lingual thread!

Re: Ancient Treasures waypoint

Posted: Fri Jan 20, 2012 6:07 am
by M4gm4
Meiner ist anfangs immer nur am ersten durchgang hängen geblieben, einfach den wegpunkt tiefer setzen.
an der kerze sollte er scih unsichtbar machen, runter gehn, kerze anzünden, hoch gehen, und warten bis der buff abgelaufen ist. dann erst sollte er weiter machen.

Mine is stuck at first only on the first crossing, simply use the Waypoint deeper.
at the candle, he should make himself invisible, go down, candle light, go up, and wait until the buff is expired. only then should he do next.

Re: Ancient Treasures waypoint

Posted: Fri Jan 20, 2012 6:15 am
by Germangold
ich hab es nie für nötig gehalten dieses minigame zu machen oder mich mit nem waypoint dafür zu beschäftigen
klar für phirusmuscheln gibts nette sachen aber der aufwand war es mir nicht wert, zudem besteht die gefahr, dass froggster einfach kleinigkeiten ändert im minigame sodass die arbeit dann wieder umsonst war/ist bis man das problem behoben hat.


i've personaly never done minigames and doesn't like them anyway. sure for phriusshells there nice stats and items but the efford i have to put into it wasnt worth my time. furthermore there is a possibilty that frogster immedeately shut down some processes in the mini game with small obstalcales or change of routines that would waste the waypoint completely until its solved.

Bi-Lingual like a bozz

Re: Ancient Treasures waypoint

Posted: Fri Jan 20, 2012 6:29 am
by M4gm4
ja, aber für 250 stück bekommt man schon ein high stat. alle 3 tage 2 stk. den crap kann man für 1,5kk verkaufen und aus/patk für min. 6kk.
für alle 4 minigames zusammen brauch ich ca. 30-40 minuten. in 3 tagen sind das 1,5-2,5std. das sind 3-12kk pro char. so viel machste pro char nicht im KS in der zeit.

yes, but you get 250 pieces already a high stat. every 3 days 2 pcs. the crap they can sell for 1.5kk and aus / Patk. min. 6kk.
for all 4 mini games together I need about 30-40 minutes. in 3 days are the 1.5 to 2.5 std. that is 3-12kk per char. do as much per char not in KS in time.

Re: Ancient Treasures waypoint

Posted: Fri Jan 20, 2012 6:33 am
by berlin25
Wenn ich nicht bisweilen schon nen Crit gehabt hätte würde mein Char immernoch warten, dass der buff abläuft. Was ich damit sagen will: unsichtbar->runter->kerze angezündet->hoch-> buff läuft ab -> ablauf der minigame zeit

If I haven't got a critical error my char would still wait for the end of the buff. He lights the candle, gets up, the buff ends and then he runs out of time waiting above the candle.

Re: Ancient Treasures waypoint

Posted: Fri Jan 20, 2012 7:32 am
by lisa
This is in early stages and needs work before it works flawlessly. CoT was a big project and it took the efforts of 3 or more people to get it running smoothly. Now any lvl character can do CoT without fear of dieing.

So give it time and people will find ways to do AT better/more reliable aswell.

Or you could always offer ideas or suguestions, less negativity and more positivity is the way to go =)

Re: Ancient Treasures waypoint

Posted: Fri Jan 20, 2012 8:24 am
by M4gm4
schau mal nach, ob das auch immer noch so bei dir aussieht, nicht das du da was verbastelt hast


Look to see if this remains the case now looks at you, not because that's what you verbastelt

Code: Select all

	--=== Code to collect Elemental candles ===--

	_Elemental = "Elementar.Kerzenleuchter"

	function getecandle()
	if player:findNearestNameOrId(_Elemental) then
	player:update()
   local cecandle = player:findNearestNameOrId(_Elemental)
			local lastpllocx = 0
			local lastpllocz = 0
			local lastpllocy = 0
			player:update()
			local dist = distance(cecandle.X,cecandle.Z,player.X,player.Z)
			local lastpllocx = player.X
			local lastpllocz = player.Z
			local lastpllocy = player.Y
			local _time
			if cecandle and (40 > dist) then
      RoMScript("UseExtraAction(1)")
      yrest(1500) -- 1 second cast on invis
      _time = os.time()
				-- goto ecandle
				teleport(cecandle.X, cecandle.Z)	-- teleport to above ecandle
				teleport(nil, nil, cecandle.Y +15)	-- teleport in range to click ecandle

				-- click ecandle
					player:target_Object(_Elemental, 5000);
					yrest(1000)
					player:update()

				teleport(nil,nil,lastpllocy)
				yrest(500)
				teleport(lastpllocx,lastpllocz)
   repeat
      yrest(500)
   until ( os.time() - _time ) > 30 -- let invis skill get off cooldown if needed   
			end
	end
	end

Re: Ancient Treasures waypoint

Posted: Fri Jan 20, 2012 8:36 am
by berlin25
lisa wrote:This is in early stages and needs work before it works flawlessly. CoT was a big project and it took the efforts of 3 or more people to get it running smoothly. Now any lvl character can do CoT without fear of dieing.

So give it time and people will find ways to do AT better/more reliable aswell.

Or you could always offer ideas or suguestions, less negativity and more positivity is the way to go =)
I'm not so good in coding waypoints. I just can tell you what happens when I use the file and try to figure out what causes the problem(s). That's n negativity, that's just my bug reporting. If my posts sound negativ I'm really sorry.

So: Thanks @ll for the other waypoints which work (mostly :P) perfect :)

Re: Ancient Treasures waypoint

Posted: Fri Jan 20, 2012 6:50 pm
by Germangold
Image
tested the waypoint the first time with english client
seems to get stuck on those blue portal-ish walls

is this supposed to be like this?

bot wont get the fire buff to go tru the barrier

Re: Ancient Treasures waypoint

Posted: Fri Jan 20, 2012 7:03 pm
by lisa
Make sure to download the model file. Unpack it into your "<DRIVE>:\Program Files\Runes of Magic\" folder.
First post says to make sure to use the model folder attached, the files within that folder remove the blue "doors", that is why it doesn't even try to get the flame to get through the doors because the doors shouldn't be there.

Re: Ancient Treasures waypoint

Posted: Fri Jan 20, 2012 7:06 pm
by Germangold
LOL lisa sorry
i was reading 1st post, and i allready have a model folder but not THAT exact modell folder :|

Re: Ancient Treasures waypoint

Posted: Fri Jan 20, 2012 7:08 pm
by lisa
the files you want are in

model/element/common/prop/ancient_remains

Re: Ancient Treasures waypoint

Posted: Fri Jan 20, 2012 7:12 pm
by M4gm4
sorry,,, aber ich mußte grad so lachen als ich dein screenshot gesehen habe.. lach
nichts gegen dich ... aber ich hab mir einfach nur bildlich vorgestellt, wie dein gesichtsausdruck war, als du vor dem portal stands und dir dachtest,, der shice geht doch gar ned *hihihihihihihihihi

sorry, but I had to laugh as if I have the degree seen your screenshot .. laughing
nothing against you ... but I've just presented only visually, how your facial expression was, as you go before the portal stood and you thought, but even the shice ned * hihihihihihihihihi

Re: Ancient Treasures waypoint

Posted: Mon Jan 23, 2012 3:52 pm
by kanta
Well. If someone would like to take over working on this script you are more than welcome. I'm not really going to play RoM any more. I'll make a post in the general chat explaining why if anyone cares to read it.