Giter VIP home page Giter VIP logo

brages_redemption's People

Contributors

gitjas avatar jazira33 avatar vnebelung avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

brages_redemption's Issues

Laryssa spawned double

In my game Laryssa, cousin of Brage, spawned double.
I found and killed Borda before I found and rescued Brage.
In may case the culprit was in this section of the area script, which was extended by q13_4800.baf:

/* [Borda is still alive and has to appear a second time.] Laryssa spawns outside temple in Nashkel after Nalin looked at the sword */
IF
	Global("C#q13_LarissaSpawn","MYAREA",0)
	OR(2)
		Global("C#q13Brage_FakeMerchant","GLOBAL",0)
		Global("C#q13Brage_FakeMerchant","GLOBAL",1)
	!Dead("Brage")
	GlobalGT("C#q13Brage_NalinVouch","GLOBAL",1)
	OR(2)
		GlobalLT("C#Q13_BragesSwordQuest","GLOBAL",4)
		Global("C#Q13_BragesSwordQuest","GLOBAL",6)
THEN
	RESPONSE #100
		SetGlobal("C#q13_LarissaSpawn","MYAREA",1)
		CreateCreature("c#q13lar",[2450.1198],13)
		IncrementGlobal("C#q13Brage_FakeMerchant","GLOBAL",2)
		Continue()
END

/* in case innocence was proven with third letter out of Tazok's tent (PC didn't need Larissa to find the merchant */
IF
	Global("C#q13_LarissaSpawn","MYAREA",0)
	Dead("BORDA") 
	!Dead("Brage")
	GlobalGT("C#q13Brage_NalinVouch","GLOBAL",1)
	OR(2)
		GlobalLT("C#Q13_BragesSwordQuest","GLOBAL",4)
		Global("C#Q13_BragesSwordQuest","GLOBAL",6)
THEN
	RESPONSE #100
		SetGlobal("C#q13_LarissaSpawn","MYAREA",1)
		CreateCreature("c#q13lar",[2450.1198],13)
		Continue()
END

One of the two sections might miss conditions, so that they don't come true at the same evaluation cycle.
If not, the same functionality w/o double spawning can be reached with only one section like this:

/* [Borda is still alive and has to appear a second time.] Laryssa spawns outside temple in Nashkel after Nalin looked at the sword */
/* OR */
/* in case innocence was proven with third letter out of Tazok's tent (PC didn't need Larissa to find the merchant */
IF
	Global("C#q13_LarissaSpawn","MYAREA",0)
	OR(3)
		Dead("BORDA") 
		Global("C#q13Brage_FakeMerchant","GLOBAL",0)
		Global("C#q13Brage_FakeMerchant","GLOBAL",1)
	!Dead("Brage")
	GlobalGT("C#q13Brage_NalinVouch","GLOBAL",1)
	OR(2)
		GlobalLT("C#Q13_BragesSwordQuest","GLOBAL",4)
		Global("C#Q13_BragesSwordQuest","GLOBAL",6)
THEN
	RESPONSE #100
		SetGlobal("C#q13_LarissaSpawn","MYAREA",1)
		CreateCreature("c#q13lar",[2450.1198],13)
		IncrementGlobal("C#q13Brage_FakeMerchant","GLOBAL",2)
		Continue()
END

This worked in my game.

However, the esieast solution might be to just remove the continue() in the first section...

V8.0 issues

does not install:
brage_bg1ub_vial.d missing // in first line
brage_bg1ub.tra should probably brage_bg1ub_vial.tra

potential encoding issues in tra/german (utf8 should be ansi):
brage_ajantis_sod.tra
npcbanter_sod.tra
brage_i4e_sod.tra
BRAGE_bg1npc.TRA
brage_bg1ub(_vial).tra
brage_bgqe_bitchqueen.tra

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.